[wicked] turning off revert

Jan Schneider jan at horde.org
Fri Dec 3 06:38:59 PST 2004


Zitat von "Jason M. Felice" <jfelice at cronosys.com>:

> On Wed, Dec 01, 2004 at 10:01:50PM -0900, Barsalou wrote:
>> What permissions would I have to set to disable revert?  What other
>> functionality would I lose by doing that?
>>
>> We are experiencing an issue where someone has decided to automate the
>> revert process and "attack" our wiki.
>>
>> Just wondering if there was a way to set the security to protect against
>> that.
>>
>> I know I can ban the individual IP, but don't want to end up chasing
>> individual IP's.
>>
>> Thanks for any insights.
>
> The code checks if the user has edit permission to the page before
> reverting, so that's the only way to prevent it.  I'm assuming you don't
> want to do that because you want public access to the wiki-- really
> there isn't a way to prevent just reversions.  If someone is scripting
> it, they could as well write a script to resubmit their text as though a
> user were editing the page, and so preventing the use of the 'revert'
> feature probably will just inspire his or her creativity <g>

Btw, this "script" may be a search engine robot, you should check your logs
and provide a patch to Browser.php if this is the case.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the wicked mailing list