🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.andrew
Article #1324

Re: Making a hyperlink running another program ?

#1324
From: Robert Andrew Ryan
Date: Wed, 11 Nov 1992 19:25
20 lines
1632 bytes
Excerpts from netnews.comp.soft-sys.andrew: 11-Nov-92 Making a hyperlink
running .. Dag Nygren@atomica.fi (535)

is there a way of using pushbuttons to run other programs from a ez document?

The problem with doing this is that the general case is a rather nasty
security hole.  That is if you can send mail or a bboard post with a
button with any arbitrary command there is a much greater risk of a
(pick your favorite computer program nasty) deleting all your files, or
looking at private data.  Under ATTBL_ENV in atk/hyplink/linkv.c there
is some code for having buttons which execute a command, but it depends
on a class we didn't pick up from the contributors... (AT&T Bell Labs).

It might be cool to subclass linkv so that selected programs could be
run on the destination of a link, but care would be needed to ensure
that security isn't compromised.  (For example having a filename like 
blah`rm -rf $HOME/*`foo go through sh would be unfortunate...)

-Rob Ryan
Andrew Consortium
Technical Details
Message-ID: <Qf0Jsoy00WoiEr10xo@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!rr2b+
References: <1992Nov11.094617.15591@atomica.fi>

Show Full Headers
Complete Article Headers
Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!rr2b+
Newsgroups: comp.soft-sys.andrew
Message-ID: <Qf0Jsoy00WoiEr10xo@andrew.cmu.edu>
Date: Wed, 11 Nov 1992 14:25:40 -0500 
From: Robert Andrew Ryan <rr2b+@andrew.cmu.edu>
Subject: Re: Making a hyperlink running another program ?
In-Reply-To: <1992Nov11.094617.15591@atomica.fi>
References: <1992Nov11.094617.15591@atomica.fi>
Lines: 20