Securing Folders

Note that this guide concerns itself with protected folders. There are two levels of "Groupings": Protected folders and user groupings. The only difference is that a protected folder secures a physical folder on your server on top of creating a user group, while a user grouping does not secure a physical folder. If you are using this grouping for the purposes of relational databasing, we recommend creating a user group instead of a protected folder.

Before You Begin

  • Using an FTP client, set the file permissions on the folder you are going to secure to 777.
  • Ensure that there isn't currently a ".htaccess" file in directory. If there is, overwriting it may cause issues with another program or previous redirection rules.

Purpose

Protected folders allow you to do two things:

  • Create "member's only" content on your website by securing a folder and keeping it off-limits to the general public,
  • Set up an organized database allowing you to use the criteria-based searches and targeted e-mailing features.

Securing the Folder

To secure a folder, from your admin control panel, do the following:

  1. Click on "Members » Protected Folders and User Groups"
  2. Click on "New"
  3. Select "Type = Protected Folder"
  4. Input your desired settings (see settings section below for more information)
  5. Input the full server path to the folder in question.
  6. Click on "Add Grouping"

Settings

SettingsPurpose
NameReference name for this grouping. Note that this will appear to the user on the member control panel, so make it something that you would want your clients to see.
Start PageThis is the first page to which users will be redirected when they click the grouping's link on the member control panel.
No Access PageThe program will redirect any user who either (1) does not have access to this folder or (2) is not logged in to this URL when they attempt to access the folder.
SSLIf you tick this checkbox, the program will force the entire contents of the protected folder to be served over an SSL connection.
vDomain?If you are securing content across several domains, and this secure folder is not on the primary domain (where Member Guardian is installed), you will need to tick this checkbox to ensure that the program uses cross-domain logins.

Selling Access to Content

Once you have set up a protected folder, you can sell access to the folder using shopping cart products, or a registration forms.

Securing CMS Content

If you are using a CMS, your website structure is generally virtually generated, meaning that there are no actual physical files to secure. Click here for more information on securing this "virtual" content.

Tags: #content_security