Answer the question
In order to leave comments, you need to log in
How to restrict the writing of files in folders (for example, through .htaccess)?
After the site is made, it is necessary that the CMS is not updated anymore. But so that the protection of the outdated CMS is not infected with a virus. It is necessary to forbid writing files in folders. Only of course the images folder had write access.
Answer the question
In order to leave comments, you need to log in
it is necessary that the CMS is not updated anymore
You can restrict the entry through chmod, and this is the only correct way.
But, as Er Code said , if you are afraid of viruses, make backups.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question