home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / softsys / andrew / 1355 < prev    next >
Encoding:
Text File  |  1992-11-11  |  1.6 KB  |  32 lines

  1. Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA
  2. Path: 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+
  3. Newsgroups: comp.soft-sys.andrew
  4. Message-ID: <Qf0Jsoy00WoiEr10xo@andrew.cmu.edu>
  5. Date: Wed, 11 Nov 1992 14:25:40 -0500 
  6. From: Robert Andrew Ryan <rr2b+@andrew.cmu.edu>
  7. Subject: Re: Making a hyperlink running another program ?
  8. In-Reply-To: <1992Nov11.094617.15591@atomica.fi>
  9. References: <1992Nov11.094617.15591@atomica.fi>
  10. Lines: 20
  11.  
  12. Excerpts from netnews.comp.soft-sys.andrew: 11-Nov-92 Making a hyperlink
  13. running .. Dag Nygren@atomica.fi (535)
  14.  
  15. is there a way of using pushbuttons to run other programs from a ez document?
  16.  
  17. The problem with doing this is that the general case is a rather nasty
  18. security hole.  That is if you can send mail or a bboard post with a
  19. button with any arbitrary command there is a much greater risk of a
  20. (pick your favorite computer program nasty) deleting all your files, or
  21. looking at private data.  Under ATTBL_ENV in atk/hyplink/linkv.c there
  22. is some code for having buttons which execute a command, but it depends
  23. on a class we didn't pick up from the contributors... (AT&T Bell Labs).
  24.  
  25. It might be cool to subclass linkv so that selected programs could be
  26. run on the destination of a link, but care would be needed to ensure
  27. that security isn't compromised.  (For example having a filename like 
  28. blah`rm -rf $HOME/*`foo go through sh would be unfortunate...)
  29.  
  30. -Rob Ryan
  31. Andrew Consortium
  32.