<<< Chronological Index >>>    <<< Thread Index >>>

Re: Access to RIPE-TT data from third parties (fwd)


On Thu, 21 Dec 2000, Ana Susanj wrote:

> Elo.
> 
> > From our side, there is one other requirement: the scheme 
> > must still be
> > maintainable, we do not want to spend our days adding and resetting
> > passwords.  Ana, our new network engineer, is currently looking at the
> > best way to implement this.
> 
> OK. I met with Mal this afternoon to see what he's done about a similar
> thing (secure web stuff where LIRs can log in and add new contacts etc..).
> We'd have a bit more to keep in mind than he does as there are those 
> ttxy directories.

OK, so if I understand this correctly, there are 2 groups for each
test-box: ttxx and ttxx_admin. ttxx_admin can add/delete user/password
combinations.  ttxx can only look.   This looks like what we want.

> He's done something very similar. The only difference being that he's
> storing crypt passwords in plain text files, which is not as efficient
> in perl (as storing them in dbm files) (code efficient). 
> 
> Another thing he suggested was to put all functions into one file (e.g.
> add, modify, delete) rather than having them separately. But I originally
> had that in mind anyway. It just means less duplicated code. 

You can also put the common code in a perl-module and load that in the
scripts.  The functions are then still separate (and thus more
maintainable), but no code is duplicated.

> This seems sufficient, but I'm open for criticism and comments. Does 
> anyone have any or should we give this a go? 

We need the delete.cgi.  

Perhaps you can combine add.cgi and modify.cgi (if a user exists, then
modify his permissions, if not, make a new one).  

Other than that: yes, let's try this.

Henk


------------------------------------------------------------------------------
Henk Uijterwaal                    Email: henk.uijterwaal@ripe.net
RIPE Network Coordination Centre     WWW: http://www.ripe.net/home/henk
Singel 258                         Phone: +31.20.535-4414,  Fax -4445
1016 AB Amsterdam                   Home: +31.20.4195305
The Netherlands                   Mobile: +31.6.55861746  
------------------------------------------------------------------------------

A man can take a train and never reach his destination.
                                               (Kerouac, well before RFC2780).







<<< Chronological Index >>>    <<< Thread Index >>>