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   1453 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?