Home :: Blog :: Articles :: Web-Hosting :: How to Prevent access to unauthorized browsing using htaccess file

How to Prevent access to unauthorized browsing using htaccess file

How to Prevent access to unauthorized browsing using htaccess file
Category: Web-Hosting
Posted:
Views: 1372
Comments: 0 [Post]
Synopsis: Particularly if you are selling digital downloads – zip files in a directory. To avoid that use the following code in the .htaccess file.

Protecting specific folder or directory  browsing, Particularly if you site doesn’t have a default index page  and all files within that directory can be easily seen and downloaded by visitors, Particularly if you are selling digital downloads – zip files in a directory. To avoid that use the following code in the .htaccess file.

# disable directory browsing
Options All -Indexes


Comments on How to Prevent access to unauthorized browsing using htaccess file

Start the conversation by being the first to comment!

Share comments

Your Name: *
Comments: *
Please Note: HTML Markup will be automatically removed.
The ability to post urls has been disabled by the site administrator.
*
Type the characters you see in the picture:

*