Re: Problem with the authentication

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 UTC