Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » ImageGallery: Secure access to images

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 1072 Views
  • x75
    Avatar
    Community Member
    42 Posts

    ImageGallery: Secure access to images Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: ImageGallery: Secure access to images Link to this post

    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.

  • x75
    Avatar
    Community Member
    42 Posts

    Re: ImageGallery: Secure access to images Link to this post

    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

    1072 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.