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

README.md

Secure Assets Module

Build Status SilverStripe supported module

Introduction

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.

Maintainer Contact

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

Requirements

(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.

Credit

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

https://github.com/hamishcampbell/silverstripe-securefiles.

You can’t perform that action at this time.