Protecting Your Web Pages With a Password
If you feel comfortable doing so, you can create an .htaccess file to password protect a directory in your Linux hosting account. We cannot provide instructions or troubleshooting for this, but you can find tutorials and password generators at Apache's Web site.
You'll need to know the full server path of your Linux hosting account to create an .htaccess file. It is:
Replace "u," "s," and "e" with the first three letters of your hosting login, and "username" with your full hosting login. This is not your customer account login, but rather, the login you use to FTP files to your site. For example, the hosting login "maynard" would translate to the following path:
Alternately, you can find the full server path by embedding the following script in a file, and then uploading and running the file:
echo __FILE__;
?>
You can also use JavaScript to create a very basic (and non-secure) form of password protection on our Linux-based hosting plans.
If you have a Deluxe or Premium hosting plan, you could also use Perl to develop password protection, though some programming skill would be required.