Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Need help with file permission

Help
PStephens
2010-09-06
2013-05-22
  • PStephens
    PStephens
    2010-09-06

    I want to password protect a file in one of my virtual servers… I have followed the instructions in the documentation, but it isn't working properly. Can someone help me out here?

     
  • Even if old the instructions on this page still works fine to protect a directory, ie. not a specific file, so you could create a directory, for instance "secretfiles" under your public_html folder in the virtual servers folder, and add a .htaccess file as in instructions;

    http://www.elated.com/articles/password-protecting-your-pages-with-htaccess/

    Hope it helps in some way
    Björn