[Zope3-Users] Disabling authentication for resources
Shailesh Kumar
shaileshk at gmail.com
Wed Jul 9 01:52:55 EDT 2008
Did you try the resourceDirecotry ZCML directive?
<browser:resourceDirectory
name="js"
directory="resource/js"
layer=".interfaces.IBatonSkin"
/>
that way they don't need the authentication overhead.
On 7/8/08, andrew <andrew at reurbanise.co.nz> wrote:
>
> Hi All,
>
> 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.
>
> Cheers, Andrew.
>
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20080708/bee94629/attachment.html
More information about the Zope3-users
mailing list