Secure site contents by requiring user authentication for specified files and/or directories. The first example shows how to password-protect the specified file, .secure.php
Please Login or Register to see this code
The second example employs the directive to protect any/all files which match any of the specified character strings, , ,,, ,.FilesMatchexecuteindexsecureinsanitybiscuit
Please Login or Register to see this code
The third example demonstrates how to protect an entire directory. So if this rule set is included in a directory named , all files and subdirectories within will be protected./private//private/
Please Login or Register to see this code
The fourth example provides password-protection for all IPs except that which is specified, .99.88.77.66
Please Login or Register to see this code

