[REBOL] Antwort: Security for CGI scripts
From: sharriff:aina:med-iq at: 9-Oct-2000 14:44
>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
>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:
>if username and password is correct then
> write/allow %filename [ read write execute ] filedata
> notify administrator about action
> warn administrator about action
>Does anyone have a better/safer/working idea to provide me with?
I trying my best to do the same thing. My solution is to present a form
that validates the password and name. The form has a REBOL cgi script as an
action that reads a file with a user list stored in blocks. Access types
are flagged in the block, e.g
[ name "admin"
the user is the presented with a new HTML page or form depending on the
flags. The code is still unfinished because I would like to direct the
output to another frame..which is still a puzzle.
hope this feeble attempt helps somehow
med.iq information & quality in healthcare AG