Closed
Bug 154672
Opened 23 years ago
Closed 23 years ago
32bit exe files will not execute from browser
Categories
(Core :: Security, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: mark_Burmeister, Assigned: security-bugs)
Details
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
BuildID:
I try to execute a exe file from mozilla 1.1 using the following code and get
an error..
netscape.security.PrivilegeManager.enablePrivilege
("UniversalExecAccess");
java.lang.Runtime.getRuntime().exec(command);
Has this been fixed in moz1.1 or is it in a future telease?
I need to be able to open .exe files from Mozilla.
The exception I get is java.security.PriviligedActionException
<<java.lang.reflect.InvocationTargetException
Reproducible: Always
Steps to Reproduce:
1.Run the above function on an winnt based machine
Actual Results: Exception
Expected Results: Notepad.exe should open
Comment 1•23 years ago
|
||
Browser, not engine; reassigning to Security:General -
Assignee: rogerl → mstoltz
Component: JavaScript Engine → Security: General
QA Contact: pschwartau → bsharma
Assignee | ||
Comment 2•23 years ago
|
||
You can't enable Java permissions from JavaScript anymore - In Mozilla,
netscape.security.PrivielgeManager.enablePrivilege(), although it looks like a
LiveConnect call, enables privileges for JavaScript only, not for Java. I
believe the only way to do what you want to do is to write a small applet that
requests the necessary privilege and calls exec().
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•