On Fri, Jun 16, 2006 at 02:33:57PM +0300, Odhiambo G. Washington said:
> * On 16/06/06 11:57 +0100, Stephen Gran wrote:
> | On Fri, Jun 16, 2006 at 01:24:25PM +0300, Odhiambo G. Washington said:
> | > I have a server that I use for hosting websites. I simply give ftp
> | > access and the customer just uploads their web content. The problem
> | > comes in the name of some code used in these websites - they allow
> | > http-put and http-post by spammers.
> |
> | This is better solved in apache, I would think - use a Limit directive
> | to stop these customers from allowing spamming. If they fix the code,
> | turn it back on.
>
> I cannot do this for several hundred web customers, or do you reckon I
> should?;)
I use mod_template here, and it's easy enough to define a template that
allows POST and PUT, and one that doesn't, and just change the Use line
for a customer site depending on their code trustworthiness.
> It sounds a draconian method.
It is. Unfortunately, the customer isn't always right.
--
--------------------------------------------------------------------------
| Stephen Gran | UNIX is many things to many people, but |
| steve@??? | it's never been everything to anybody. |
| http://www.lobefin.net/~steve | |
--------------------------------------------------------------------------