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

Secure Images in Image_Gallery


Go to End


1162 Views

Avatar
x75

Community Member, 43 Posts

24 September 2009 at 10:41pm

Hi,

I'm looking for a way to have an image gallery, which images are only accessable for authenticated users.
I have tried the combination of the image_gallery modul and the secure files modul.

After fixing some problems in the secure files modul and hacking the saphire core. I can now secure folders in the asset folder. But that breaks the image_gallery modul. I won't resize the thumbnails anymore. For some reason the resampled file just has the original size.
So my solution is not really working. I have a security modul, that only securs on a per user base. And only after making modifications to the core of the cms. And I have a image gallery that can't show thumbnails.

There has to be another way. What am I missing? How do you secure your files in silverstripe, if you don't won't them publicly avalible?

Thanks
Johannes