[REBOL] Antwort: Re: Antwort: Sending files to webservers and Rebol
From: sharriff:aina:med-iq at: 14-Nov-2000 7:21
Thanks Tim!
could you explain further? if one single web-page is displayed how would I
differentiate the users with different rights? do you mean based on a
certain right "flag", a user gets a version of this page? excuse my lack
understanding the example.
Best regards
Sharriff Aina
med.iq information & quality in healthcare AG
Tim Johnson
<[tim--johnsons] An: [rebol-list--rebol--com]
-web.com> Kopie:
Gesendet von: Thema: [REBOL] Re: Antwort: Sending files to webservers and Rebol
rebol-bounce@
rebol.com
13.11.00
16:51
Bitte
antworten an
rebol-list
Hi Sharriff.....
I'm not sure if I follow this thread correctly, but
let me tell you what I do in some of my CGI
programming. None of what follows should even
be rebol-specific!
1)Take as an example that a web page is displayed
by a cgi program. Now we don't have to reference
that cgi program's URL directly, the URL could
be imbedded as a dummy frame source.
2)Given that we are displaying a page by a cgi program,
then pathinfo could be used to control the display of
the content.
Let's says that display.r diplays a certain content.
; below for readonly
http://www.mydomain.com/cgi-bin/display.r/readonly
; below for user
http://www.mydomain.com/cgi-bin/display.r/userprivilege/userpassword
;below for administrator
http://www.mydomain.com/cgi-bin/display.r/adminprivilege/adminpassword
Given that the privileges that set properly, then what could follow are
switches
in which the cgi-program holding the content would then post changes as
appropriate
to whichever directory you wished.... pending, or immediate, you would then
have
the control.. given the appropriate access rights, then rebol could read,
write,
create, delete directories at will.
Perhaps you find this useful, if not, please accept my apologies if I have
muddied the waters further.
Regards
-tim
[Sharriff--Aina--med-iq--de] wrote: