Re: AppleScript CGI Limitations
Re: AppleScript CGI Limitations
- Subject: Re: AppleScript CGI Limitations
- From: James Sentman <email@hidden>
- Date: Tue, 19 Mar 2002 15:01:05 -0500
From what I remember, AppleScript CGI's cannot do things like display
dialogs and store data due to 'security issues'. Is this still the issue,
and is there any way around this?
Scenario:
I want to create an AS CGI script that will display a dialog each time the
CGI script is accessed, containing some data that the client sent. This is
for clients to post a quick request to the admin at my site. I am not
worried about security issues as this is internal. I would also like to log
this information to a file/files.
I've never run into anything like this. Under OS9 there isn't really
any way to run the web server as a different user with different
access rights. The web server, and anything else you run, like your
CGi's, run in the normal user space and can do anything that they
could do if they were double clicked by the user. I often popup
dialogs to do debugging from acgi scripts.
Under X this is definitely true. Any application launched by Apache
will be running as the www user which has no access to the screen so
the program will die if it tries to init core graphics. But writing
files is no problem as long as the www user has write access to those
directories.
So as long as you're doing it under classic MacOS it should not be a problem.
-James
--
_________________________________________________________________________
James Sentman <email@hidden>
http://www.sentman.com
Enterprise server monitoring with:
http://whistleblower.sentman.com/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.