Create a protected area
The folders that you are going to protect can be given any name and placed anywhere
within your web site. They may be called 'premiumcontent', 'securearea' and so on. There are the areas that your
subscribers are going to subscribe to
In the root of each of these folders, place a copy of the master .htaccess file. This file is located
in the example folder called 'protected'.
This is in fact just an empty file as all the settings are saved to the file by the application. Change the permissions
on this .htaccess file to 666. On a Godaddy hosting installation, apparantly permissions of 606 should be used rather than 666.
Now create a folder to store the .htpasswd files (you can call the folder anything you like but it is usual to call it 'htpasswd') and change the permissions
on this folder to 777. You do not have to do anything else to this folder as the application will automatically create the .htpasswd files when it needs to.
(Additional information : The application creates the htpasswd files automatically and they will be identified as htpasswd_x where x is a number matching the record id of the
secure area. The htpasswd file will not exist until the first user is created).
This folder is normally located outside the root of the web site. If this is not possible,
make sure that the supplied htaccess file is also placed in this folder to protect it. It should look something
<Limit GET POST PUT>
deny from all
Everything should now be set up for you to go to log on to the admin pages.
Don't worry if you have not set up the file permissions correctly, because the application will check
all these during later stages, and will display any error messages if problems are encountered.
Login in to the admin displays which can be found at http://wwww.yourservername.com/phpsecurearea/admin/
Default user name / password is:
User name: email@example.com