W
W
weranda2015-05-08 23:40:04
htaccess
weranda, 2015-05-08 23:40:04

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

1 answer(s)
V
Vladimir Martyanov, 2015-05-08
@weranda

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 question

Ask a Question

731 491 924 answers to any question