Skip to content
SilverStripe module that adds access restrictions to folders in assets, similar to the way you secure pages
Branch: master
Clone or download
Latest commit e4ecf3e Jul 24, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
_config FIX 404 page now displays nicely Aug 18, 2016
code BUGFIX 404 on files ignores subsite error pages Oct 23, 2018
lang Update translations Aug 25, 2017
LICENSE Initial commit Jan 13, 2014 Add supported module badge to readme Jun 15, 2018
_config.php Changed RewriteBase in .htaccess to BASE_URL Jan 22, 2014 Update changelog for 1.1.0 release. May 18, 2016

Secure Assets Module

Build Status SilverStripe supported module


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

This should work with IIS 7+, but it has not been extensively tested.

See the usage documentation for more information.

Maintainer Contact

  • Hamish Friedlander <hamish (at) silverstripe (dot) com>
  • Sean Harvey <sean (at) silverstripe (dot) com>


(3.1 up to but not including 4)

NOTE: Since SilverStripe 4.0.0 this module has been superseded by core functionality (provided by silverstripe/assets - a part of recipe-core).

Installation Instructions

  1. Extract the module to your website directory, or install using composer: composer require silverstripe/secureassets dev-master
  2. Run /dev/build?flush=1

Upgrade Instructions

As above, this module is no longer needed in the SilverStripe 4.x release line.

Run 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

You can’t perform that action at this time.