LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Prevent external image requests?

Reply
 
Thread Tools Display Modes
  #1  
Old 12-15-2006, 07:11 AM
jp_n9 jp_n9 is offline
Member
 
Join Date: Sep 2006
Posts: 38
Default Prevent external image requests?

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!!!
Reply With Quote
  #2  
Old 12-15-2006, 08:51 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:15 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.