Prevent external image requests?

jp_n9

Active Member
#1
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

LiteSpeed Staff
#2
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.
 
Top