W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 2001

Re: Problem with the authentication

From: Yves Lafon <ylafon@w3.org>
Date: Wed, 24 Jan 2001 11:58:33 +0100 (MET)
To: root <paranoida@gmx.de>
cc: <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.32.0101241156120.8653-100000@tarantula.inria.fr>
On Wed, 24 Jan 2001, root wrote:

> Hi!
> I`ve got a problem with the generic.auth.filter. So, i want to make a ressource
> (a html-file) write-protected but it must be possible to view this file without
> using a password. I only want this password-request, when somebody try to
> change this file.
> Is there a possibility?

Yes, (btw it is better to use now an AclFilter with an AclRealm attached
to it rather than the normal GenericAuthFilter, because you can switch
easily from Basic to Digest auth).
You have a field "Protected methods" in the configuration of the filter,
if left blank, it will protect all methods, if you set a list it will only
protect the methods in the list.
On my personal website, I edit with PUT and setup digest auth for PUT and
DELETE (safe editing), and GET HEAD and others remain without access
control.
Regards,

-- 
Yves Lafon - W3C / Jigsaw - XML Protocol - HTTP
"Baroula que barouleras, au tiťu toujou t'entourneras."
Received on Wednesday, 24 January 2001 05:59:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:35 GMT