Access and security
How playback works
Section titled “How playback works”The lesson stores a plain address on your own site. It holds no bunny.net token. When someone presses play:
- Your site checks that the person is logged in.
- It applies the access rule below.
- It sends the person to bunny.net with a link signed for that moment. The link expires after four hours.
Who can watch
Section titled “Who can watch”| Situation | Result |
|---|---|
| Not logged in | Blocked |
| Administrator | Allowed |
| Video used in a lesson, person can open that lesson | Allowed |
| Video used in a lesson, person cannot open it (not enrolled, drip date not reached, lesson in draft) | Blocked |
| Video used in no lesson | Allowed for any logged-in member |
“Can open that lesson” is decided by FluentCommunity itself, so enrolment and drip schedules behave as you configured them. If a video is used in several lessons, access to any one of them is enough.
For developers
Section titled “For developers”Two filters adjust the rule:
// Replace the whole decision. Receives the current verdict, the video ID and the user ID.add_filter('lbc_bunny/can_view', function (bool $allowed, string $guid, int $userId): bool { return $allowed;}, 20, 3);
// Turn the course check off and fall back to "any logged-in member".add_filter('lbc_bunny/enforce_course_access', '__return_false');What stays protected on bunny.net
Section titled “What stays protected on bunny.net”Playback links are signed with your token key, and thumbnails are fetched by your site with the same signing and your domain as the referrer. This works with a pull zone that blocks direct URL access and allows only your domain.
What the plugin cannot prevent
Section titled “What the plugin cannot prevent”- A signed link can be shared. It works for anyone who has it until it expires, four hours at most.
- Someone who can watch a video can record their screen. No plugin prevents that.
- The plugin does not manage who is enrolled. That stays in FluentCommunity.
Where your keys are kept
Section titled “Where your keys are kept”Keys saved on the settings page are encrypted with a key derived from your site’s secret keys (the salts in wp-config.php). If those salts change, the saved keys can no longer be read and the plugin asks for them again. Keys set in wp-config.php are never copied into the database.