Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

SecureFiles and Subsites doesn't match


Go to End


2 Posts   2148 Views

Avatar
cliersch

Community Member, 75 Posts

21 October 2009 at 2:53am

Edited: 21/10/2009 3:00am

Hi! I'm using the Subsites Module and want to secure the assets folder using the SecureFiles Module.
Every Subsite has got its own folder assets/subsite1 and assets/subsite2
My members should only be able to see their own subsite files when logged in.

When activating the checkbox "Folder ist secure" in Files & Images and try to call a file like http://subsite1.mysite.de/assets/subsite1/myfile.jpg

I'm going to receive the error on page "I can't handle sub-URLs of a SecureFileController object."

How can I modify the module to secure the subsites folders?

Avatar
cliersch

Community Member, 75 Posts

22 October 2009 at 8:16pm

It's me again - still having the problem.
Isn't there any possibility to secure a folder when using the Subsite Module?
Guess it's a very important security question for Silverstripe!
Any ideas how to solve it?