Prevent Access to a Specific File/s in .htaccess


/ Published in: Bash
Save to your folder(s)

This example shows you how to restrict to a specific file or multiple files. Add the following code block and edit the file name/s according to yuor needs.

URL: http://www.apphp.com/index.php?snippet=htaccess-prevent-access-to-single-file-or-multiple-files

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.