disable file uploads

Francis Daly francis at daoine.org
Mon Mar 23 22:52:17 UTC 2015


On Tue, Mar 24, 2015 at 09:13:50AM +1300, Steve Holdoway wrote:

Hi there,

> Is there any way to stop / disable random file uploads... for example,
> I'm having 'fun' with mail relays being uploaded to the cache area of a
> wordpress site?

What the difference between a request that is a file upload and a request
that is not a file upload, on your system?

Are there some specific urls you want to block? Do you want to block
all POST requests?

> Can't think of anything off the top of my head that would do it.

Would it be simpler for you to configure your wordpress to disallow
file uploads?

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list