1. Home
  2. Knowledge Base
  3. Content Protection
  4. Protect Folders on Your Site Using WishList Member Folder Protection
  1. Home
  2. Knowledge Base
  3. Video Tutorials
  4. Protect Folders on Your Site Using WishList Member Folder Protection

Protect Folders on Your Site Using WishList Member Folder Protection

Protect Folders on Your Site Using WishList Member Folder Protection

WishList Member includes the ability to protect folders and select which membership levels can access the content of those folders. This means you can upload content to those folders and only members with the corresponding membership level(s) can access what you've placed in those folders. Folder Protection is enabled by default in WishList Member so whenever you create a new membership level, WishList Member will also create a new folder for that membership level and protect it automatically. If you are interested in setting protection and access for individual files, you can check out the File Protection Knowledge Base entry.

The folder will be named based on the name of the membership level. As an example, a level named Bonus Plan would have a folder named bonus-plan.

Folder Location

The folders are located within your file system at: <path to WordPress install>/files

If your WordPress install is located at: /public_html/ then your folders will be located at: /public_html/files/

If you have a membership level named Gold then the folder would be located at: /public_html/files/gold/

You can then navigate to this location using an FTP program and upload your files to the appropriate folder for the membership level that should be able to access those files.

Folder Protection

The first step is enabling the Folder Protection option in the Content Protection > Folders section in WishList Member. Once enabled, you will see a list of all the folders WishList Member has created for each of your membership levels.

Protect Folders on Your Site Using WishList Member Folder Protection - Enable Folder Protection

There is a Force Download option for each folder. The Check mark/X icon can be toggled to set the Force Download status for the corresponding folder. Browsers will sometimes display the content of PDF files instead of downloading the actual file. If the Force Download option is enabled for a folder, the browser will not display the content of the PDF and will download it instead.

Access to the folders can be set as protected or unprotected similar to any post or page you might protect using WishList Member.

Folder protection can be used to prevent users who don't have the assigned membership level(s) from accessing the files within the protected folder. It is possible for a member with the correct membership level to download the files once they have logged into the site.

Folder Protection General Settings

You will find general settings for Folder Protection by clicking the blue Settings button on the top right.

Protect Folders on Your Site Using WishList Member Folder Protection - Settings

The Settings popup will appear with a selection of options

  • The path to the parent folder. By default, WishList Member will create a folder named “files” in the root directory of your site. If you would like to modify the name of this primary folder, you can change it. This will be the folder all individual level folders are placed inside.
  • Using Nginx? The instructions that can be followed to ensure Folder Protection will work with Nginx servers.
Protect Folders on Your Site Using WishList Member Folder Protection - Settings

The Settings popup includes three tabs with corresponding options in each tab.

Protect Folders on Your Site Using WishList Member Folder Protection - Settings

Enable Auto-Configure

If enabled, the Auto-Configure option will automatically create a new folder every time you create a new membership level in WishList Member. The membership level will also automatically be assigned access to the created folder.

The folder name is based on the membership level name and the folder name will not be changed if the membership level name is changed.

Protect Folders on Your Site Using WishList Member Folder Protection - Auto-Configure

Remove Protection

You have the option to remove protection (and access) for all folders. The Remove Protection button can be used to unprotect all folders currently being protected by WishList Member. This will also remove any membership levels that had access to the folder.

Folders will not be deleted if protection is removed and no membership levels will be able to access the folders when protection is removed.

Protect Folders on Your Site Using WishList Member Folder Protection - Remove Protection

Reset Protection

You have the option to reset protection for all folders. The Reset Protection button can be used to reset the Folder Protection back to it's original settings. This will also create a new folder if it does not already exist and a sub-folder for each membership level will also be created (and protected).

The Reset Protection button acts as a “reset” to original Folder Protection settings.

Protect Folders on Your Site Using WishList Member Folder Protection - Reset Protection

Set Protection and Access for Folders

You can use the Select an Action dropdown to manage the protection and access settings of your folders.

The following three options are available in the Select an Action dropdown.

  • Edit Protection Status. The folder can be set as protected or unprotected.
  • Add Levels. You can add the level(s) that can access the selected folder(s).
  • Remove Levels. You can remove the level(s) that cannot access the selected folder(s).
Protect Folders on Your Site Using WishList Member Folder Protection - Select an Action

Select the checkbox to the left of the folders(s) you want to configure and select the corresponding action you want to apply to the folders(s) from the Select an Action dropdown. A popup will appear for the selected action. Adjust the setting within the popup and click the provided button to apply the action. An example is provided below for each of the three options available in the Select an Action dropdown.

Edit Protection Status

In this example, the checkbox to the left of the “diamond” folder is checked and Edit Protection Status has been selected from the Select an Action dropdown.

Protect Folders on Your Site Using WishList Member Folder Protection - Edit Protection Status

The Edit Protection Status popup appears and the protection status dropdown can he used to set the desired protection status.

Protect Folders on Your Site Using WishList Member Folder Protection - Edit Protection Status

In this case, the Unprotected status option is selected and the Update Protection button is clicked.

Protect Folders on Your Site Using WishList Member Folder Protection - Edit Protection Status

The status of the “diamond” folder has now been updated and shows as Unprotected.

Protect Folders on Your Site Using WishList Member Folder Protection - Edit Protection Status

Add Levels

In this example, the checkbox to the left of the “extra-bonus” folder is checked and Add Levels has been selected from the Select an Action dropdown.

Protect Folders on Your Site Using WishList Member Folder Protection - Add Levels

The Add Levels popup appears and the membership levels dropdown can he used to add levels to the folder. This will result in members with the applied membership level(s) being able to access the protected folder.

Protect Folders on Your Site Using WishList Member Folder Protection - Add Levels

In this case, the Bronze and Silver levels are selected and the Add Level button is clicked.

Protect Folders on Your Site Using WishList Member Folder Protection - Add Levels

The Bronze and Silver levels are now added to the “extra-bonus” folder.

The “extra-bonus” folder already had the Platinum level applied so that level was retained when the new Silver and Bronze levels were added.

Protect Folders on Your Site Using WishList Member Folder Protection - Add Levels

Remove Levels

In this example, the checkbox to the left of the “extra-bonus” folder is checked and Remove Levels has been selected from the Select an Action dropdown.

Protect Folders on Your Site Using WishList Member Folder Protection - Remove Levels

The Remove Levels popup appears and the membership levels dropdown can he used to remove levels from the folder. This will result in members with the removed membership level(s) not being able to access the protected folder.

Protect Folders on Your Site Using WishList Member Folder Protection - Remove Levels

In this case, the Platinum level is selected and the Remove Level button is clicked.

Protect Folders on Your Site Using WishList Member Folder Protection - Remove Levels

The Platinum level is now removed from the “extra-bonus” folder.

The “extra-bonus” folder had the Silver and Bronze levels applied previously so those levels were retained when the Platinum level was removed.

Protect Folders on Your Site Using WishList Member Folder Protection - Remove Levels

Toggle Folder Status Using the Icons

You can quickly change the folder protection status for a specific folder by clicking the icon that appears to the left of that folder. One click will toggle between the current status and the next status.

  • Click the Unprotected icon and the status will be changed to Protected.
  • Click the Protected icon and the status will be changed to Unprotected.
Protect Folders on Your Site Using WishList Member Folder Protection - Toggle Folder Status Using the Icons

Folder Protection Video Tutorial

WishList Member also includes a File Protection option. More details can be found in the File Protection Knowledge Base entry.

Was this article helpful?

Related Articles