[REBOL] Security for CGI scripts
From: peter:carlsson:space:se at: 9-Oct-2000 15:16
Hello!
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?
Best regards,
Peter Carlsson
----------------------------------------------------------------
Peter Carlsson Tel: +46 31 735 45 26
Saab Ericsson Space AB Fax: +46 31 735 40 00
S-405 15 Göteborg Email: [peter--carlsson--space--se]
SWEDEN URL: http://www.space.se