[Zope3-Users] Disabling authentication for resources

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Jul 9 10:44:59 EDT 2008


On Tuesday 08 July 2008, andrew wrote:
> I've got a web application that uses pluggable authentication, but I
> don't want the overhead of authentication for public resources like CSS,
> javascript, images, etc. Is it possible to just disable authentication
> for a given resource ? I tried just setting the permission to zope.View,
> but that didn't seem to make any difference.

You have to set the permission to zope.Public. It is a special permission 
that, when seen, bypasses the security context lookup.

Regards,
Stephan
-- 
Stephan Richter
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"


More information about the Zope3-users mailing list