I was wondering if it is possible to restrict the ImageGen handler in creating thumbs of *any* size. My main concern is that someone could easily write a script which calls the handler with a rainbow of sizes, resulting in the servers caching a big pile of images.
Would this require the pro version and can this be prevented by using classes and the overridesQueryString setting for example?
That's exactly right. While I've never heard of anyone being malicious with imagegen requests it is conceivable and ImageGen Professional's maxWidth and MaxHeight parameters (and/or the allowUpsizing parameter) will restrict that from happening. You can set these in the "default" class and also in any specific classes you might use.
ImageGen handler query restrictions
Hello,
I was wondering if it is possible to restrict the ImageGen handler in creating thumbs of *any* size. My main concern is that someone could easily write a script which calls the handler with a rainbow of sizes, resulting in the servers caching a big pile of images.
Would this require the pro version and can this be prevented by using classes and the overridesQueryString setting for example?
Thanks
Lennart
That's exactly right. While I've never heard of anyone being malicious with imagegen requests it is conceivable and ImageGen Professional's maxWidth and MaxHeight parameters (and/or the allowUpsizing parameter) will restrict that from happening. You can set these in the "default" class and also in any specific classes you might use.
Details in the Reference pdf.
cheers,
doug.
Thanks for the quick confirmation, Douglas!
Enjoy your weekend :)
is working on a reply...