ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

not possible to deny access to image file?

December 10, 2014 3:27pm

Subscribe [2]
  • #1 / Dec 10, 2014 3:27pm

    Riverboy's avatar

    Riverboy

    2993 posts

    Im using Grid and Image Manipulations for creating 2 different sized images from original.
    How I can deny access to original image, because with native way, original is very easy to locate by looking at the source code and dropping of part from the url what indicates the “thumbs”.

    Is there a way? I need this so that no user can access to original file in my server.

  • #2 / Dec 12, 2014 10:50am

    Giraffentoast

    150 posts

    Interesting question… 😊

    I don’t think there’s a way without tinkering with the upload module itself.

    If you don’t need the original image online at all, consider not uploading it in the first place. That requires preparing the images before upload, of course, but in the end this is quick and safe.

    Or you could write image paths like this:

    /image/?id=264

    Then, in that template get the image for the supplied ID and display the size you want. The user will not see the actual path. (untested, but should work)

  • #3 / Dec 14, 2014 1:56pm

    Riverboy's avatar

    Riverboy

    2993 posts

    Bought Link Vault and I got the solution to this one.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases