Local program exection in WWW browsers

David.J.Heiland@att.com
Errors-To: listmaster@www0.cern.ch
Date: Wed, 13 Apr 1994 14:44:19 --100
Message-id: <9404131242.AA14843@mlsbc.mlm.att.com>
Errors-To: listmaster@www0.cern.ch
Reply-To: David.J.Heiland@att.com
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: David.J.Heiland@att.com
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: Local program exection in WWW browsers
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
Content-Length: 1021

In order to make full use of WWW browsers I'd like them to execute local
programs, possibly using their output as HTML (ie a local CGI script).  

To do this generally is dangerous as has been mentioned elsewhere.  
However, it should be possible to have Mosaic only execute a program 
link (whether it is a form ACTION or an HREF) if:

1. The page with the link is a local page (since remote pages shouldn't 
   point to local executables)
2. The program to be executed is local
3. The program to be executed is in your PATH (since PATH contains programs
   you already trust).  

In order to tell Mosaic to execute the link instead of reading the file,
an extension could be used (e.g., ".cgi") or possibly a different URL
form could be used (e.g., "exec://localhost/~dheiland/bin/anything").  Some
further distinction may need to be made between those programs that return
HTML (such as a local WAIS search on your private files) and those that don't
(such as click here to run xclock).


-- 
David.J.Heiland@att.com