[HCoop-Discuss] Require explicit privileges to post to the wiki?

Adam Chlipala adamc at hcoop.net
Tue Dec 16 20:09:20 EST 2008


Ron Senykoff wrote:
> Something that works well to effectively stop spam in MoinMoin is to
> not let someone in who targets the UserPreferences page without a
> referrer. This prevents spam bots that specifically hit the moinmoin
> UserPreferences page URL from getting in.
>
> # Block unreferred scripts from creating accounts
> RewriteCond %{REQUEST_URI} UserPreferences
> RewriteCond %{HTTP_REFERER} ^$
> RewriteRule /UserPreferences - [F]
>
> Just this one rule will stop most all of the spam.

I've added this configuration.  We'll see if it's enough to stop the 
problem.  Thanks for the suggestion!



More information about the HCoop-Discuss mailing list