Testing WP plugin „Restrict File Access“

This is a test post for the WordPress Plugin Restrict File Access.

Also at GitHub.

Hasn’t been updated for years but it looks like it still works fine with WordPress 6.1.1. and PHP 8.1.

The features I have tested are:

  • Restricts files from direct download via file path by .htaccess.
  • Makes files accessible by paramter url for logged in users
  • user roles can be deffined
  • Works with WP 6.1.1 and PHP 8.1
  • works with custom user roles

Video with URL paramters

This is the video added by url parameter https://test.toolset.reinecke.design/?file=The-Joker.mp4. It just shows for logged in users.

Video with direct URL

This is the video added by direct server path https://test.toolset.reinecke.design/wp-content/uploads/files/The-Joker.mp4. It shouldn’t show for anybody.