Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Joao Pinto 24 posts 64 karma points
    Oct 01, 2013 @ 17:13
    Joao Pinto
    0

    Media Protect compatibility - imagegen displays protected media

    imagegen is currently ignoring Media Protect settings, showing protected medias to unlogged users, any way to avoid this?

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Oct 02, 2013 @ 15:14
    Richard Soeteman
    0

    Hi Joao,

    Mediaprotect checks for the image parameter in the querystring that comes from imagegen if the handler is called Imagegen.ashx.

    If this doesn't work I'm really interested in the url and set-up. If you don't want to share those details please in public hope you can email tehn [email protected].

    Thanks,

    Richard

  • Joao Pinto 24 posts 64 karma points
    Oct 02, 2013 @ 17:08
    Joao Pinto
    0

    Dear Richard,

    currently on the live website I did a "trick" to avoid the issue, basically I modified the imagegen.ashx to check if the image is protected and eventualy return a different respose. So I do not have a live URL to give you.

    But I can see the problem on the development website, where I'm using a clean Imagegen.ashx file, the following URL correctly "blocks" the image access and redirects the user to the login page:

    http://localhost:54652/media/1709609/01.jpg

    This URL instead will display the image to anyone:

    http://localhost:54652/imagegen.ashx?image=/media/1709609/01.jpg

    I hope you can have a look without a live version, otherwise I could upload a dev. version on a live server to show it to you, but I don't have so much time currently, please let me know.

    Thanks

    Joao

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Oct 02, 2013 @ 17:15
    Richard Soeteman
    0

    Hi Joao,

    Thanks for the detailed reply. I'm sure I can reproduce this. Is the media protected or is it a media item on a protected content page?

    Thanks,

    Richard

  • Joao Pinto 24 posts 64 karma points
    Oct 02, 2013 @ 17:36
    Joao Pinto
    0

    Hello Richard,

    the media is protected. Thanks for your efforts.

    Regards

    Joao

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Oct 02, 2013 @ 21:26
    Richard Soeteman
    0

    Hi Joao,

    Can you send me an email [email protected]. I will send you the binaries to test.

    Thanks,

    Richard

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Oct 03, 2013 @ 17:05
    Richard Soeteman
    0

    Ok there was an issue in the ImageGenHandler not being picked up correctly. It will be release in the 1.1.12 version of Mediaprotect. Should be out next week, only want to test it on V4 also.

    In case you need it NOW mail me I can send the package.

    Best,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft