From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10663e,586240a0141719a0 X-Google-Attributes: gid10663e,public X-Google-Thread: 115614,d3d2e2e83bc8fbe X-Google-Attributes: gid115614,public X-Google-Thread: fee84,d3d2e2e83bc8fbe X-Google-Attributes: gidfee84,public X-Google-Thread: 11035d,d3d2e2e83bc8fbe X-Google-Attributes: gid11035d,public X-Google-Thread: fb4a0,d3d2e2e83bc8fbe X-Google-Attributes: gidfb4a0,public From: gns2@po.CWRU.Edu (Gabriel N. Schaffer) Subject: Re: Differing UNIX Date: 1995/05/18 Message-ID: <3pghk0$i3t@usenet.INS.CWRU.Edu>#1/1 X-Deja-AN: 102837855 distribution: inet references: organization: Case Western Reserve University, Cleveland, OH (USA) reply-to: gns2@po.CWRU.Edu (Gabriel N. Schaffer) newsgroups: comp.unix.aix,comp.unix.solaris,comp.unix.osf.osf1,comp.unix.unixware,comp.unix.unixware.misc In a previous article, peter@nmti.com (Peter da Silva) says: >In article , >Evan Leibovitch wrote: >> Personally, I'd like to see these tools migrate to HTML 3, so that >> conventional Web browsers can be used to operate them -- Mosaic >> (for instance) in GUI environments and Lynx in character-based >> systems, sharing a common look-and-feel throughout. Is anyone up >> to it? > >I have started writing cgi scripts to run system information tools via >Mosaic. The big problem with going all the way to system administration >with this is the security issue. How do you keep just anyone from attaching >to your server and issuing administration commands? The simplest answer is to ask for a password. This can be done either by having a password field on the form or by putting your scripts in a directory with a .htaccess file. You'll have to be careful about people packet-sniffing your passwords, though. Using one-time passwords might not be a bad idea. You can also restrict users by IP address, but that's subject to IP spoofing. For my group management page (http://k2.cwru.edu/groups.html) I used IP address checking and a password on the form, although security wasn't a big issue do to the program's limited functionality. The best way to be secure is probably to use the Netscape Commerce Server, but unless you already have one that's a costly solution. :) -- /~~~~ / /~~~ / /~~/~~ gns2@po.cwru.edu / ___ __ /_ __ (__ __ /_ __ _/__/__ _http://www.gabe.com/ / / ___/ / ) /__) ) / / ) ___/ / / /__) /__) /____/ /__/ (__/ (___ ___/ (__ / / /__/ / / (___ / \__