Adds access restrictions to folders in assets, similar to the way you secure pages
A module for adding access restrictions to folders that mirrors the access restrictions of sitetree pages
This is a fork of the community module (Also called Secure Files) located at https://github.com/hamishcampbell/silverstripe-securefiles.
This should work with IIS 7+, but it has not been extensively tested.
See the usage documentation for more information.
- Hamish Friedlander
<hamish (at) silverstripe (dot) com>
- Sean Harvey
<sean (at) silverstripe (dot) com>
- SilverStripe ^3.1
(3.1 up to but not including 4)
- Extract the module to your website directory, or install using
composer require silverstripe/secureassets dev-master
- Run /dev/build?flush=1
As above, this module is no longer needed in the SilverStripe 4.x release line.
dev/build followed by
dev/tasks/MigrateFileTask. All secure assets will be migrated to
your updated project.
This is a fairly heavy re-write of a community module (also called secure files module) by Hamish Campbell. Check that module out if you want fine-grained per member access control