A simple plugin to restrict access to assets for permitted users only. Access to a given asset is only granted if the user has view-permissions for the given source (this can be set in the user- or group-settings).
The asset source folder should be moved out of the web root folder so the files are never accessible without this plugin.
This plugin requires Craft CMS 3.0.0-beta.23 or later.
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require tikiatua/internal-assets -
In the Control Panel, go to Settings → Plugins and click the “Install” button for Internal Assets.
-Insert text here-
-Insert text here-
-Insert text here-
Some things to do, and ideas for potential features:
- Release it
Brought to you by Ramon Saccilotto
