Answer the question
In order to leave comments, you need to log in
Will blocking site folders via .htaccess prevent site from being hacked?
Greetings.
If in all folders of the site except for images and styles and except for the root directory in the .htaccess file, block all of the type:
order deny,allow
deny from all
, will this prevent the site from being hacked or not, and if not, please explain why and what else can be done?
Answer the question
In order to leave comments, you need to log in
No, it won't. This does not affect weak passwords on FTP/SSH, SLQi, file upload scripts, etc. etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question