7938 Posts in 1540 Topics by 945 members
|Go to End|
14 October 2009 at 11:21pm
any idea how I can protect the images in a gallery? I want to ensure that only authenticated users can access/download them.
I know how to secure the gallery pages, but the images are still accessible if you have the direct url.
I tried the secure files module. But once i got that working, the thumbnails in the gallery where not resized anymore. I guess the module does not have access to the resampled folder or something like that.
Is there any other way to achieve this? I don't necessarily need different permissions. It would be enough, if only user authenticated could access the files. no matter what group they belong to.
Thank for any help
15 October 2009 at 1:24am
This isn't really an ImageGallery specific issue, unfortunately. It's more about the much broader issue of Silverstripe exposing all of your assets to the public. I'm not sure what is being done on this front, but I think the best place to start would be to get in touch with Hamish about making improvements to the SecureFiles module. Seems to be almost there.
16 October 2009 at 9:22pm
thanks for your answer. I was just hoping that you or someone else knew of an other way so secure the images, or get the thumbnails to keep working. I'll try contacting Hamish, it seems like he's been working a little on the code at google code lately.
|Go to Top|