Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Dev

What the heck is this?!? : re: put and delete functions in httpd

 

 

Apache dev RSS feed   Index | Next | Previous | View Threaded


andrew at www

Mar 13, 1995, 10:03 AM

Post #1 of 4 (154 views)
Permalink
What the heck is this?!? : re: put and delete functions in httpd

----- Begin Included Message -----


rst at ai

Mar 13, 1995, 10:13 AM

Post #2 of 4 (153 views)
Permalink
Re: What the heck is this?!? : re: put and delete functions in httpd [In reply to]

What you're looking at there is a consequence of the way that the NCSA
httpd does access control --- it allows separate access control
directives for each supported HTTP method. So, in order to limit
*all* access to a directory, you really need to say:

<Limit GET POST PUT DELETE>

Unfortunately, almost no one actually does this, perhaps because all
of the examples in the server docs just use

<Limit GET>

which leaves POST unrestricted. The consequences of this aren't
*quite* as severe as they look --- DELETE and PUT are handled by just
looking for a CGI script to hand them off to, and CGI scripts which
actually handle DELETE and PUT requests as a non-malicious client
might have intended them are somewhat rare. However, this does leave
POSTs unrestricted, so it sure isn't good.

Given the installed base, the best thing to do about this might be to
hack http_access.c so that all other methods are subjected to security
checks at least as stringent as those applying to GETs by default,
whether additional <Limit> directives are specified for those methods
or not.

rst


rst at ai

Mar 13, 1995, 1:51 PM

Post #3 of 4 (153 views)
Permalink
Re: What the heck is this?!? : re: put and delete functions in httpd [In reply to]

Date: Mon, 13 Mar 95 18:33 GMT
From: drtr [at] ast (David Robinson)

I think I'd prefer a wildcard Limit directive.

But this is a documentation issue; which makes me wonder who is going to
document all the new features? (I suppose I don't mind volunteering...)

David.

I'd prefer <Limit All> on principle too, but there are a whole lot of
people out there with really broken setups (using only <Limit GET>,
leaving themselves open to random POSTs) who don't know it. Perhaps I
put too much stress on solving their problems transparently, but those
problems are real.

rst


drtr at ast

Mar 13, 1995, 6:33 PM

Post #4 of 4 (153 views)
Permalink
Re: What the heck is this?!? : re: put and delete functions in httpd [In reply to]

rst wrote:
>...the best thing to do about this might be to hack http_access.c so that
>all other methods are subjected to security checks at least as stringent as
>those applying to GETs by default, whether additional <Limit> directives
>are specified for those methods or not.

I think I'd prefer a wildcard Limit directive.

But this is a documentation issue; which makes me wonder who is going to
document all the new features? (I suppose I don't mind volunteering...)

David.

Apache dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.