Prevent abuse of public HTTP directory meant for images

Posted by sutre on Server Fault See other posts from Server Fault or by sutre
Published on 2010-06-07T00:02:34Z Indexed on 2010/06/07 2:02 UTC
Read the original article Hit count: 222

Filed under:

The situation: Each user has their own public HTTP directory, meant for images only. This could easily be abused by users using it to serve large files, wasting bandwidth.

The question: Is there any fairly simple way to prevent this abuse? Either by allowing the webserver to only images to be served, restricting size, or some other method.

© Server Fault or respective owner

Prevent abuse of public HTTP directory meant for images

Posted by sutre on Stack Overflow See other posts from Stack Overflow or by sutre
Published on 2010-06-07T00:02:34Z Indexed on 2010/06/07 0:12 UTC
Read the original article Hit count: 222

Filed under:

The situation: Each user has their own public HTTP directory, meant for images only. This could easily be abused by users using it to serve large files, wasting bandwidth.

The question: Is there any fairly simple way to prevent this abuse? Either by allowing the webserver to only images to be served, restricting size, or some other method.

© Stack Overflow or respective owner

Related posts about lighttpd