26 February 2014 at 12:14am
Just a quick one i hope, i am using the PHP-Reports [link]http://jdorn.github.io/php-reports/[/link] Great product for queryining the database and getting info. What i need to do is make it so that only logged in users of the SilverStripe framwork can access that folder and its reports. Any idea how i can do that?
I basically have a SS3.1 install and in the root folder is a sub folder php-reports thats the one i need to secure.
1 March 2014 at 11:34am
(Last edited: 1 March 2014 11:35am),
Take a look at the Secure files module. While it's won't work out the box for what you want (it's designed for files) the idea is the same. Block access to the reports folder and use a proxy controller in SilverStripe to 'pass through' requests