Prevent external image requests?

Discussion in 'Install/Configuration' started by jp_n9, Dec 15, 2006.

  1. jp_n9

    jp_n9 Active Member

    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?

  2. mistwang

    mistwang LiteSpeed Staff

    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.

Share This Page