Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Security for CGI scripts Re:

From: al:bri:xtra at: 9-Oct-2000 22:05

Peter Carlsson wrote:
> I need to have a CGI script on a server which will allow authorized
persons to get access to read/write on the server.
> As part of the CGI query string the username and password are provided. > > It will be used to update REBOL scripts on the server. It will then be
necessary to set the correct permissions on the scripts.
> My idea is to do something like this: > > decode-cgi > if username and password is correct then > write/allow %filename [ read write execute ] filedata > notify administrator about action > else > warn administrator about action > end if > > Does anyone have a better/safer/working idea to provide me with?
How about allowing _FTP_ access to users who provide the correct username and password? Then they can read or write files to their hearts content. Other users can then read the files through http. Andrew Martin ICQ: 26227169