7912 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » ImageGallery: Secure access to images
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1003 Views |
-
ImageGallery: Secure access to images

14 October 2009 at 11:21pm
Hi,
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
Johannes -
Re: ImageGallery: Secure access to images

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.
-
Re: ImageGallery: Secure access to images

16 October 2009 at 9:22pm
Hi,
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.
Thanks
Johannes
| 1003 Views | ||
|
Page:
1
|
Go to Top |

