Posts tagged with ‘block access to file types’

How to block access to certain file types using .htaccess

advertisement

linuxIt’s a good practice to block visitor access to file types that is not being used in web server. You can configure .htaccess to block access to specific file types (eg: inc, bak, log, sh). It’s common for webmaster to edit files at the server and rename the old filename to .bak. If your file contain sensitive information like login credentials, then your info will be expose to public.

To block access to certain file types using .htaccess, follow the steps below:

Continue reading How to block access to certain file types using .htaccess »