Protecting membership content and giving access to authorized members is one of the prime concerns of any membership site owner. Often times you just protect entire pages from unauthorized users, however, there are several other strategies for protecting your membership content.
For example, instead of restricting access to the entire page you can show or hide portions of the page based on ActiveCampaign tags, membership levels, login status, and user’s identity.
In this article, we’llcover 12 different methods you can use to protect or grant access to your membership site content using Memberium. At the end of this article, you will have learned how you can protect pages, posts, custom post types, portions of pages, documents, videos, audio files, and content categories.
You will also learn how you can restrict a member’s access to your site based on their membership, ActiveCampaign tags, IP address, or how many times the user has logged in within a specified time limit.
It is possible that you may not need all of the advanced content protection features of Memberium, but it will be useful to know what is possible as your site grows and your needs expand.
Here Is the List of 6 Content Protection Strategies We’ll Cover Throughout This Article
- Protecting Pages, Posts or Custom Posts types
- Protecting a portion of a page, post, or widget
- Protecting Your Files (Downloadable Documents, PDF, etc.)
- Protect Categories
- Restrict Access to the site with Unique Memberium Features
- Protect a Sub-Page with Inherited settings from the Parent Page
Protecting Pages, Posts or Custom Posts type
Membership sites are all about creating a personalized user experience. As a membership site owner, you’d want to display certain elements of a page only to the users for whom it’s applicable.
For example, you might want to show the Upgrade Membership button only to users who haven’t upgraded yet. Memberium offers multiple options to display elements like call to action buttons, forms, resources, etc. conditionally to members. The options are listed below.
Protecting Pages, Posts, or Custom Posts types
Memberium allows you to protect your pages, posts, and custom post types on your WordPress membership site through Memberium’s Content Protection Metabox. It is the most popular and widely used Memberium content protection feature.
Memberium’s Content Protection Metabox helps you protect your content with combinations of various controls such as active membership, ActiveCampaign tags, and logged-in status.
You can also determine what happens if the user doesn’t have access. You can display an excerpt or teaser content (if your theme supports excerpt) or redirect them to a different page altogether.
Protecting a portion of a page, post, or widget
Protect content based on the permission to the specified page or post
You can show or hide content based on if a user can access another post using the [memb_can_view_post] shortcode. This shortcode verifies if the user has access to the specified page or post, and displays or hides content accordingly.
This shortcode is more advanced than its other counterparts as it takes access tags as well as payment failure tags into consideration to determine whether a user has permission to view the page or not.
Protect content based on active membership levels
You can create your membership levels within Memberium and protect content based on if a member has that level or not. To protect portions of the page, post or the widget based on the user’s active membership you will use [memb_has_membership] shortcode.
Show or hide content based on ActiveCampaign tag(s)
There are a couple of shortcodes for protecting a portion of page, post or custom post type based on ActiveCampaign tags. You can use [memb_has_any_tag] (one tag required) to display or hide content if the user does or doesn’t have one of the specified tags.
Alternatively, if you want to grant or restrict access based on all the specified tags, you can use [memb_has_all_tags] (all tags required) shortcode.
Protect or hide content according to user’s logged-in status
If you want to display or hide a certain portion of the page, post or custom post type based on if the user is logged in or logged out, you can do that using [memb_is_logged_in] shortcode. This shortcode is useful to display marketing messages to the logged out user and serve personalized content to the logged in users conditionally.
Protecting Your Files (Downloadable Documents, PDF, Videos and Audio)
In comparison to the text content you have on your membership site, files are at higher risk for unauthorized sharing. However, Memberium is equipped with the functionalities to protect your downloadable documents, PDFs, videos and audio files as listed below.
Generate secure, expiring Amazon S3 links
Protecting the downloadable content is one of the trickier parts for membership site owners. Memberium integrates with Amazon S3 and allows you to create expiring links that can be used just once, thus preventing the users from sharing download links with non-members.
Though you completely can’t stop someone determined from sharing your content, you can certainly make it harder with Memberium’s Amazon S3 Integration.
Using the guide above, you’ll be directed to use the [memb_s3_link] shortcode to add expiring download links to your page. These links will prevent sharing.
Protect Categories and other Special Pages
One of the most effective ways to organize your content in a WordPress site is by segmenting them into different categories. With Memberium you can protect the category itself.
Also, if you have hundreds of pages/posts on your site that you need to protect, it won’t be easy even with the Bulk Editor. In that case protecting entire categories or author pages will be much quicker and effective.
Protect Categories
Apart from pages, posts, and custom post types, Memberium also allows you to protect your categories. You can edit the category and set the category to be accessed by logged in or logged out status.
You can also use a PHP Boolean Expression to protect your categories. Also, you can decide if you want to hide the category completely if the user is not qualified to access it, or you can redirect the user.
Restrict Access to the Site with Unique Memberium Features
In addition to various options for protecting pages, posts and post types, portions or elements on the page and files, Memberium has several unique protection features that enable you to prevent unauthorized users from logging into your site.
You can also prevent users from logging in based on IP address or ban them completely from accessing your sites.
Allow only active members to login to the site
With the help of Memberium’s Required Membership feature, you can allow only users with a valid membership to log in to your membership site. Users who do not have valid membership can be redirected to the sales page or payment page to buy access to the site.
Restrict members to one active session
Memberium’s Prevent Simultaneous Logins feature helps you restrict users to log in from multiple places at the same time. When this feature is turned on users will be allowed only one active session at a time.
If the user account is already in use, and a second login takes place, the first login will be disconnected immediately. The main use case for preventing simultaneous logins is to deter account sharing – many people using a single, paid account.
Limit Logins based on IP Addresses
Membership site owners can define the number of different IP addresses a user can log in from within a specified period of time. For example, you can set the Maximum Login IPs feature to 5 different IP addresses within 24 hours.
If a user exhausts the maximum limit of unique IP addresses allowed, they will have to wait until the specified time duration has elapsed.
Used in combination with preventing simultaneous logins, this helps deter account sharing.
You can set the time duration in hours and set the limit for the maximum number of unique IP addresses users can login from within that time period using Memberium’s Maximum Login Window feature.
You can view the video tutorial how Maximum Login IPs and Maximum Login Window features work together and help you protect your gated membership content.
Lockdown Your Site – Require Login to See Any Page
If you wish only logged in users should have access to your membership site, you can lock out anonymous users with the Site Lock option. When this feature is turned on, users will not be able to access any page on the site without logging in.
If the anonymous user attempts to access any page, he will be redirected to the login page.
Protect content based on Parent Page access
The most common structure for membership site content is dividing content into courses and further chopping into smaller chunks as Lessons or Topics. In this structure, the Course is a parent page for the Lessons and similarly, the Lesson is a parent page for the topics under it.
You can set Memberium to check if a user has access to the parent page when he tries to access the child page.
Restrict access based on parent page access
Memberium gives you an option to grant access only if the user has access to the parent page. You can turn on Page Security Inheritance setting which will pass on the parent page’s Memberium Protection to the child/subpages. This setting requires the user to have access to the parent page also in order to access the child/subpages.
Summary
In this article, we discussed 12 different ways to protect your membership content. This article covered how to protect your membership site pages, posts, custom post types, downloadable content, category pages, and more.
You also know about several Memberium features to restrict users from logging in to your site under specific conditions. You may not need all of these features but you can use combinations of these methods to protect your membership content the way you want.