This assumes that you have followed the installation instructions and have updated the 'Site Setup' page in the administration pages.
Create the folder on your web site which is to be protected e.g. a folder called 'protected'.
Copy an .htaccess file into the root of the folder that you are about to protect. This can be a empty .htaccess file or any existing .htaccess file as the entries will be overwritten.
I have provided a blank .htaccess file in the 'protected' folder which you may use.
Change the permissions of the .htaccess file to 666.
In the left hand menu of the administration pages click on the menu item 'Secure Setup'.
Create a new secure area with an appropriate name such as 'myprotectedfolders' or 'mypremiumcontent'. This name can be anything you like but usually represents the content that is being protected.
Against this entry, add the folder path where you placed the htaccess file. This has to be the full folder path and will look something like /server/
site1/ public_html/ files/
For information on working out the folder path name refer to : http://
www. withinweb/ phpsecurearea/ faq.php#digitalfiles
The .htaccess file will be automatically updated with the required settings for the defined folder.
Note that you can enter a number of folders against the secure area if you wish. The customer will then have access to several web folders using the same username / password.
You can now create one or more products which use this secure area.
In the left hand menu, click on the 'Product List' menu item and create a new product item with an appropriate name. In this system a 'product item' is defined as a secure area with particular attributes that define the subscription.
You will need to select from the drop down list the secure area name that you defined previously.
You might want to create several 'products' which point to the same secure area. For example you may have one product called 'GoldAccess' with $250 for 3 months subscription, and another product called 'SilverAccess' with $100 for 1 months access.