Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
imagegen is currently ignoring Media Protect settings, showing protected medias to unlogged users, any way to avoid this?
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].
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:
This URL instead will display the image to anyone:
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 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?
the media is protected. Thanks for your efforts.
Can you send me an email [email protected]. I will send you the binaries to test.
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.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted