Re: wiki spam

"Johan Kotlinski" <[email protected]> Sun, 18 Jun 2006 15:54:45 +0200
Newsgroups gmane.comp.web.wiki.awkiawki.user
Message-ID <[email protected]>
> > Wouldn't it be a lot more easy and secure to do stuff like that in a
> > .htaccess file?
>
> Maybe. I don't know that much about what can be done with .htaccess (I'm
> actually reading up on it now, since you mentioned it.). But would it be
> possible to disable edit only, so the wiki would still be viewable by
> anyone?
>
> All this aside, a solution as much within awki as possible seems to me
> like the easiest, from the awki maintainer's point of view...

I am not sure... The simpler the awki is, the easier it is to
understand and maintain :)

And Apache is already 99,9999% guaranteed to be bug-free and rock solid.

Here is a full .htaccess solution for blocking everyone except you from posting:

AuthName "My Private Wiki"
AuthType Basic
<Limit POST>
order deny,allow
deny from all
allow from 192.168.0.1
</Limit>

Here is a full solution for allowing everyone except certain IP ranges:

AuthName "My Private Wiki"
AuthType Basic
<Limit POST>
order allow,deny
allow from all
deny from .microsoft.com
deny from 24.112.106.135
</Limit>

So you split wiki development and security worries.

Cheers,
Johan
-- 
http://www.rebelpetset.com
http://www.littlesounddj.com