home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / tcl / 2229 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.4 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!gatech!psuvax1!mchen
  2. From: mchen@uranus.cs.psu.edu (Michael Chen)
  3. Newsgroups: comp.lang.tcl
  4. Subject: Re: Insecurity of tk
  5. Message-ID: <BzonE9.AFn@cs.psu.edu>
  6. Date: 22 Dec 92 22:49:18 GMT
  7. References: <1992Dec22.212801.6306@twg.com>
  8. Sender: news@cs.psu.edu (Usenet)
  9. Lines: 18
  10. In-Reply-To: "David Herron"'s message of Tue, 22 Dec 1992 21:28:12 GMT
  11. Nntp-Posting-Host: uranus.cs.psu.edu
  12.  
  13.  
  14.    I assume that somewhere in the send command is a link to the interp that
  15. sent it.  Why not set up a regexp pattern to match the requesting interp's name
  16. against, and to fail the send with some informative message if the regexp
  17. doesn't match?  (Better, a list of regexps to try.)
  18.    If it was initialized to *, that would match anything (default); that means
  19. that a security enforcing interp could do a send which would set the security
  20. (say accessible by "info security") to only match itself.  Then you could 
  21. handle it / monitor it with another interpreter, which presumably wouldn't
  22. take sends from anyone.
  23.  
  24. -- Mike
  25. --
  26. _____________________________________________________________________________
  27. | Michael Chen            | From the depths of our most lucid horrors |
  28. |                | spring our fond hopes and pure desires... |
  29. | mchen@cs.psu.edu        | except what comes from HELL! :-) 7/23/92  |
  30. \_______________________________\___________________________________________|
  31.