Mike.lifeguard wrote:
> On 10-08-08 04:02 PM, John Doe wrote:
>> How about requiring a password/code to go along with rev_id in order
>> to use the tool (similar to the move to commons process?
> 
>> Delta
> 
> Yes, I suppose that's possible. Can we use Basic or Digest auth to
> protect parts of our web space? I suppose the tool itself could do
> authentication, I'd have to learn how...
> 
> -Mike

That's quite easy. You are only giving access to one process (the db
repairing tool).

So that can be done with a simple line at the top:
if ($_GET['pass'] != 'mysupersecretpassword') die (1);

(assuming php, it's similar for other languages)

_______________________________________________
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette

Reply via email to