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.

All other Modules

Discuss all other Modules here.

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

SecureFiles and Subsites doesn't match


Reply

2 Posts   1394 Views

Avatar
cliersch

21 October 2009 at 2:53am (Last edited: 21 October 2009 3:00am), Community Member, 75 Posts

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

22 October 2009 at 8:16pm Community Member, 75 Posts

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?