Internet & Networking

Password protecting a directory

It’s pretty simple. It can be done in 5 simple steps. 1: Create the directory area and set permissions to read the area 2: Create a file called .htaccess in the directory you want to protect In that file, type in these lines: AuthUserFile /your/directory/here/.htpasswd AuthGroupFile /dev/null AuthName “Secure Document” AuthType Basic require user username […]