On Fri, 17 Mar 2000, Giovanni Giorgi wrote:

> Excuse me,
[snip[
> I'd like to implement a IP "filtering" for allowing web access only from a
> list of "nice" hosts.

Bijan "The living documentation" Parsia pops up with:

        DomainFilterModule

> I think this can be a simple utility and it is userful for me....
> What do you think?
> I'd like to write the extension in my free time and then post it to the
> mailing list (or where you like).
> What class must I study for doing this?

If you mean integrating DomainFilterModule with Swikis, you might look at
SwikiSecurityModule.

Actually, it seems that you do have address filtering in
SwikiSecurityModule. Je77, you sneaky fella you!

(Acutal security code is in SwikiSecurityPrivileges.)

To use this, you just have to put the right setting in the security.xml
file (see the class comment of SwikiSecurityPrivileges).

Cheers,
Bijan.

Reply via email to