Knowledge Base Article

How to block access to all hidden files on your account?

Filenames beginning with a dot are considered hidden by UNIX systems. Generally, it is a good idea to block direct access to these files.

 

If you wish to block the access to all of your hidden files, you can place this rule in your .htaccess file:

 

RedirectMatch 403 /\..*$



Rating

Please indicate if this article was helpful for you.

rating :  4.3 from 5
views :  1556
votes :  7

Related Articles

Views

Haven't found what you are looking for? Suggest an article HERE.

powered by

Valid XHTML 1.0 Strict Valid CSS!