wiki:NoAnonymousPlugin

Version 9 (modified by anatoly techtonik, 13 years ago) (diff)

update documentation for new relaxed filter

No Anonymous Access

Description

All anonymous user requests are redirected to the login page. You do not need to revoke all permissions manually. Great to use with the AccountManagerPlugin.

By default static resources from plugins are allowed, i.e URLs /chrome/something are not blocked. If you want to block everything except /chrome/common (standard Trac styles) and /chrome/site (environment customizations), add the following block to trac.ini

[noanonymous]
paranoid = true

See also PermRedirectPlugin for conditional user redirects.

Bugs/Feature Requests

Existing bugs and feature requests for NoAnonymousPlugin are here.

If you have any issues, create a new ticket.

Actual issues
No results

Download

Zipped plugin source can be downloaded from [download:noanonymousplugin here].

Source can be checked out from here using Subversion, or browsed with Trac.

Example

In trac.conf enable the noanonymous plugin

[components]
noanonymous.* = enabled

access your Trac project site as anonymous and all you can access is the login page, regardless of anonymous user permissions.

Recent Changes

10369 by techtonik on 2011-06-23 15:44:20
#8868 - redirect to original page after login
9696 by techtonik on 2010-12-17 18:35:09
write comment fully
9695 by techtonik on 2010-12-17 18:05:51
relax filtering to allow static resources from third-party plugins
added paranoid option for conservative behavior
(more)

Author/Contributors

Author: pedro, techtonik
Maintainer: techtonik
Contributors: