home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!walter!news
- From: Nathaniel Borenstein <nsb@thumper.bellcore.com>
- Subject: Re: Tcl as a safe multimedia mail language (was Re: Insecurity of tk)
- Message-ID: <1992Dec28.004651.24596@walter.bellcore.com>
- Sender: news@walter.bellcore.com
- Nntp-Posting-Host: bambam.bellcore.com
- Organization: Bellcore
- Date: Mon, 28 Dec 92 00:46:51 GMT
- Lines: 25
-
- Excerpts from netnews.comp.lang.tcl: 25-Dec-92 Tcl as a safe multimedia
- ma.. Karl Lehenbauer@NeoSoft. (1272)
-
- > You can test some of your ideas with respect to Tcl as a safe multimedia
- > mail language without resorting to C at all -- if you use "rename" and
- > rename a command to "", it is effectively deleted from the interpreter.
-
- True, but dangerous. Before I would depend on this approach in a
- production implementation, I would want to have a Tcl command that gave
- me the names of all currently-defined Tcl commands. I could then use an
- "OK" list instead of a "DANGEROUS" list, which sounds like a much safer
- approach.
-
- > It would be nice if your support procs could read and write files and such,
- > while procs embedded in mail, or whatever, could only access the restricted
- > set.
-
- Yeah, but this can get real tricky in the implementation. For example,
- one could imagine letting the user define procs which could use the more
- powerful feature set and could in turn be called by mail procs, but this
- effectively allows each user to redefine the language in idiosyncratic
- and security-endangering ways, which I think would be a bad idea. --
- Nathaniel
-
-
-