[2651] in java-interest

home help back first fref pref prev next nref lref last post

Re: native methods display

daemon@ATHENA.MIT.EDU (Thomas Ball)
Mon Oct 9 18:14:28 1995

Date: Mon, 9 Oct 1995 13:18:12 -0700
From: Thomas.Ball@Eng.Sun.COM (Thomas Ball)
To: nthakur@attmail.com
Cc: java-interest@java.Eng.Sun.COM

We explicitly prevent applets from loading DLLs for security reasons.
Imagine loading the Visual Basic for Applications DLL (available on
all systems running the latest Microsoft Office products, such as
Word or Excel) and passing it a virus or malicious program written in 
Basic.  (It may be difficult writing good stuff in Basic, but it's 
perfect for this. :-)

Tom

>  From daemon@java  Thu Oct  5 18:16:15 1995
>  Phone: 908 576 2978
>  Fax-Phone: +1 908 741 9441
>  Subject: native methods display
>  To: java-interest@java.Eng.Sun.COM
>  Mime-Version: 1.0
>  X-Info: To unsubscribe, send 'unsubscribe' to java-interest-request@java.sun.com
>  
>  
>  Hi,
>  
>  I am trying to use native methods mechanism to control the behavior of an 
>  applet from windows dll. Things work fine if I do not call any UI functions 
>  from the dll. But if I call a function such as AfxMessageBox() from 
>  DllMain() to display windows message box the dll fails to load and I get 
>  UnsatisfiedLinkException. The same function works fine if I load dll from 
>  other Windows application (other that hotjava).
>  
>  Is it legal for the native dlls that get loaded from hotjava applet, to 
>  display dialog boxes etc? (I am running Alpha3 on NT 3.51)
>  
>  Thanks for your help,
>  Neelesh
>  
>    
>  -
>  Note to Sun employees: this is an EXTERNAL mailing list!
>  Info: send 'help' to java-interest-request@java.sun.com
>  
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post