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:
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.
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.
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?
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
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
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
Hello Richard,
the media is protected. Thanks for your efforts.
Regards
Joao
Hi Joao,
Can you send me an email [email protected]. I will send you the binaries to test.
Thanks,
Richard
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
is working on a reply...