can you help me to make htaccess file and make only read permission to root of web site folder (root folder is public_html and in that folder htaccess file will be placed)
i have problem my site was hacked.
They put/replace index.php and index.html in public_html
They replace index.php with their index.php, and put new file: index.html (those 2 files work together)
I have backup so it was solved.
But, is there a way with htaccess file to forbid files change (add files/replace files) only of root folder (public.html)