Please enable JavaScript to view the comments powered by Disqus.

Protect your content!

Thursday, February 9, 2017 / Posted by Richard

Protect your content!

Thursday, February 9, 2017 / Posted by Richard

This blog post serves two purposes: (1) provide some nice default content for you to enjoy, and (2) show off our {protected_link} template tag! This simple tag, placed in your template, will protect any URL or file from being downloaded by site members who are not in the proper member group(s).

Just feed it two parameters (e.g., "{protected_link url="uploads/school_prospectus_2017.pdf" groups="default"}") and it will automatically generate a protected link in your template. This allows you to make certain files subscribers- or members-only. And, when combined with another tag - {restricted} - you can now protect what users see on your site and what they can download, through simple template tags!

How about an example? This blog post has an attached download which will only be able to be downloaded by registered members. Can you download it?

Back to blog