PDA

View Full Version : Prevent external image requests?


jp_n9
12-15-2006, 08:11 AM
I would like to configure LSWS to only allow local pages / scripts to access images stored on the server.

The reason is that I will need to allow dynamic resizing of images (via ImageMagick) and I want to prevent a 3rd party from writing a malicious script that keeps calling image / size variations which would put a huge load on the server.

Is it possible to configure LSWS so only requests originating from a resource on the local machine can access images?

Thanks!!!

mistwang
12-15-2006, 09:51 PM
You can check our hotlinking control options, or you can implement similar access rule with URL rewrite. More complicate checking can be done with in your script I think.