From HurryPress Documentation
Jump to: navigation, search

Protect File Overview

The current HurryPress file protection feature is based on the files being uploaded to the site's server or with the Amazon S3 content distribution service. If the files that need protected, are large and you expect a large bandwidth requirement to serve up the files, a content distribution network (CDN) solution such as Amazon's S3 should be considered (this is especially true for sites running on a shared host).

Protect File video guide is available

Check Maximum File Size For Your Server Environment

To view a server's maximum file size upload limitation follow these steps:

  1. Click on the Utilities Bar in the left menu.
  2. Then click on the "Version Info" menu button.

Protect file 7.png

Then scroll down and look for the "upload_max_filesize" value. In the example below, the value is 10 Megabytes.

Protect file 8.png

Upload and Add Protection To a File

To upload a file to the site's server and add protection to it follow these steps:

  1. Click on the "Products" bar in the left menu.
  2. Click on the "Product Content" menu button.
  3. Click on the "Files" button in the top menu bar.
  4. Click on the "New Record" button as show in the image below.

Protect file 1.png

A form like the one shown below will then open up.

  1. File - Upload a file from your local computer by using the file upload feature -or-
  2. File - Browse to a file that already exists on the HurryPress server or other web storage services (such as Amazon S3) using the file browser feature. When you click on this button a file browser window will pop-up. See details on this feature after this section.
  3. Title - Add a title/name to the file
  4. Description - Enter a short description of the file here
  5. Hide - By default, links to protected files are listed in the Member's Area. If you do not want the link shown in the Member's area, check this box.
  6. Limit Downloads Count - Check this box to set a maximum number of downloads that can be performed in a set amount of time.
  7. Access Permissions - Click on "Please select an item..." drop down menu to assign a membership product, or category, to the file.
  8. Save - Always finish by clicking on the "Save" button

New Protect files page1.png

File Browser Popup
If you click on "Browse" (#2 in the above illustration) the following file browser window will pop up. You have the following three choices:
Upload (A) - Use this button to choose a file that was previously uploaded by the HurryPress upload button (#1 on the main file page). All files previously uploaded are listed on this page. So click on "Upload" then click on the file name from the list to choose a previously uploaded file.
Disk (B) - Use this option to pick a file that was previously uploaded into the directory via FTP or any other file transfer process.
S3 (C) - If you have enabled the Amazon S3 plugin, this button will be available. This allows you to securely serve a file from a file stored in a S3 bucket.

New Protect files page2.png

After clicking on the "Please select an item..." drop down menu, the menu will open up to display all previously defined membership products and categories.

Choose from the listed products or categories. After you make a choice, you can reopen the drop down menu and make additional choices.

Protect file 3.png

After an product, or category is picked, it will be displayed as shown in the image below.

  1. You can delete a membership product, or category, by clicking on the "X".
  2. By default, access to the file will start as defined in the Product setup configuration.
  3. By default, access to the file will expire as defined in the Product setup configuration.
  4. Always click on "Save" after making any changes on this page.

Note that the "start" and "expiration" dates can be configured to provide file access in an incremental fashion. For more information on setting up incremental content delivery, see this page.

Protect file 5.png

Links For Protected Files

After the file configuration page is saved. The file will be shown on the File List Page as shown in the image below.

  1. Link - This is the link to use for the protected file. Hover over the link and click the right mouse button. From the contextual menu choose "Copy link address".
  2. Edit - Click on this icon to edit the settings for the protected file.
  3. Delete - Click on this icon to delete the file from the protected area.

Protect file 9.png