IvcHosting.com
Home   Support Information   Password Protected Directories
 
Support Information - Password Protected Directories Back to Support menu
* All IvcHosting.com web hosting accounts supports password protected directories.
  • Password Protected Directories

    You can password protect a directory on your site using this feature. However, this feature would require some experience with using telnet.

    * FrontPage Users: You can password protect directories from within FrontPage. Please consult your user manual or online user guides for more information. Please do not attempt to alter your .htaccess file while FrontPage extensions are installed for your server. This may cause your account to become inoperable.


  • Installation Instructions

    1. SSH/Telnet in, and login
    2. Navigate to the directory you want to password protect.
    3. Create the .htaccessfile (with the dot), it should contain the followinglines:

      # .htaccess file
      order allow,deny
      allow from all
      require valid-user
      Authname DirectoryName
      Authtype Basic
      AuthUserFile /users/web/yourlogin/web/directorytoprotect/.htpasswd

    4. Replace yourlogin and directorytoprotect as appropriate.
    5. Now you must create the .htpasswd file using the htpasswd tool.
      Using SSH/ telnet, move to the folder that you specified within the .htaccess file as "AuthUserFile" (
      /users/web/yourlogin/web/directorytoprotect/)

        a. Type the following command to create the file and add a user:
      /usr/bin/htpasswd -c .htpasswd username

        b. You will be prompted for the users' password twice.

    6. If you need to add additional users to the file, use the command above without the " -c".

    Note: If you are not familiar with this process, or you would like to leave the installation process to us, our support staff can install Password Protected Directories on your account for a one time fee of $25. If you would like this, please use our support form to make your request.

    Back to Support menu

Domain Lookup
http://www.
 
Check if a domain name is available now !
Transfer your domain to IVChosting !
Basic Hosting Plan
1 Free Domain
10 GB Web Space
600 E-mails
• 15 MySQL DB

 
Professional Hosting Plan
1 Free Domain
150 GB Web Space
1500 E-mails
• 30 MySQL DB