Article sections

    Sensei is unable to protect files in the WordPress media library or video content by default.

    Protecting Downloadable Files ↑ Back to Top
    If you provide course materials via download links in your lessons, learners could potentially share those links and anyone with a link could access those files.

    A separate plugin is needed to control access to downloads, if you want to ensure that downloads are only accessed by learners.

    One option is the WordPress Download Manager plugin.

    After installing and activating, you can upload files via a new Downloads > Add New menu, and then restrict the download to certain user roles. As long as you don’t select All Visitors, then the download will only be available to users logged into your site.

    You can then include a download link to the file in any course/lesson using the shortcode provided.

    Anyone trying to access the file without being logged into your site will see a login prompt.

    For help using Download Manager, visit the plugin page at: https://wordpress.org/support/plugin/download-manager

    Protecting Video Content ↑ Back to Top
    For video protection, you need to use a third-party video streaming service if you want to ensure that video content can only be viewed after purchasing a course.

    We recommend Vimeo PRO for this purpose – http://vimeo.com/pro

    (Note: We formerly recommended Vimeo Plus, but we were informed that it cannot be used for any commercial video content.)

    Their ‘Domain level privacy’ feature means you can set your videos to stream only on your own website.

    From the Vimeo documentation:

    I want control over where exactly my video can be embedded. Is this possible?

    It is when you’ve got a Vimeo Plus or PRO membership! With domain-level privacy, you can specify the websites that are permitted to embed your video. Any sites that are not on your list will receive an error message when they attempt to embed it. Take that, unauthorized sites!

    To set it up domain-level privacy, head to video page and click Settings below the video player. From there, click over to the Privacy tab. In the “Where can this video be embedded?” section, select “Only on sites I choose,” then add the domain names for the sites where you’d like your video to be embedded. Don’t forget to save your changes!

    in