Xref: utzoo comp.sys.ibm.pc.misc:5010 comp.sys.novell:202 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helps!bigtex!james From: james@bigtex.cactus.org (James Van Artsdalen) Newsgroups: comp.sys.ibm.pc.misc,comp.sys.novell Subject: Re: shelling to Dos Message-ID: <51774@bigtex.cactus.org> Date: 26 Dec 90 04:46:24 GMT References: <1990Dec24.012958.9228@magnus.ircc.ohio-state.edu> Reply-To: james@bigtex.cactus.org (James Van Artsdalen) Followup-To: comp.sys.ibm.pc.misc Organization: Institute of Applied Cosmology, Austin TX Lines: 16 In <1990Dec24.012958.9228@magnus.ircc.ohio-state.edu>, salter@magnus.ircc.ohio-state.edu (John E Salter) wrote: > How does one prevent an application from shelling to DOS? > Particuarly applications running on a novell network > which is started from a menu system. Thank you. You could intercept the INT21 EXEC function call. Be careful not to gratuitously inhibit all COMMAND.COM execs. Various programs will legitimately use a shell() type function in order to run programs without regard to whether they are binary or batch files. Try to detect the cases you want based on the arguments to COMMAND.COM. -- James R. Van Artsdalen james@bigtex.cactus.org "Live Free or Die" Dell Computer Co 9505 Arboretum Blvd Austin TX 78759 512-338-8789