Protecting Files and Folders


 Protection 

  • To protect a file, use the files htaccess.txt and htpasswd.txt in /auskerry_bu/wa and copy them over into the folder/file to be protected and rename them to .htaccess and .htpasswd

  • Generate the password you want by running this file: pw_maker.php and copy into .htpasswd

  • See also this password generator http://www.askapache.com/online-tools/htpasswd-generator/

  • Use htaccess.txt for a file, htaccess1.txt for a folder

  • Get the full path by using this: fullpath.php