Password Protecting Your Files
There's a few steps involved here. You can password protect a directory and all the files within it. This tutorial requires that your hosting account package includes the "Password Protect Directory" tool.
- The first thing to do is create a web accessible directory in public_html. For example:
/public_html/private/
- Then, log into your control panel, click on the "Password Protect Directory" icon. Now select the above directory which you wish to protect.
- The next screen enables you to "name the directory" which clients will see on their log in screen. It will look something like this, "Enter the user name and password for SUPER SECRET BUNKER LOCATION NAME below..." (The name I chose was SUPER SECRET BUNKER LOCATION NAME but you can choose something a little less silly).
- Then, enter the user name and password (twice) and click the Add/Modify Authorized User button.
-
Finally, upload your PDF file to the above directory. Then link to it with http://use-your
-domain.com/private/secret-pdf-file-name.pdf. Now when someone goes to the link they'll be prompted for the user name and password you've assigned them.
Note, never use space or caps in directory names or file names or it will cause you headaches trying to create the link.
We hope that makes it a little easier for you to manage the security of your account.
|