Results 1 to 4 of 4
Thread: Java Security Warning
- 09-01-2008, 01:34 PM #1
Member
- Join Date
- Sep 2008
- Posts
- 2
- Rep Power
- 0
Java Security Warning
Hi,
We have a web portal that's currently been run in a isolated environment. In places the users are reporting an error
"The application's digital signture has been verified. Do you want to run the application?"
Name: appfile
Publisher: ABC
From: XYZ
With the option to run or cancel
How do I surpress these errors so the application is always run in this case? I've done a google and it appears I have to edit the java.policy file, but I can't find any documentation on what to put in this file other than allowing everything through; which might be ok in a sandbox environment but will give me headaches when it comes to going live.
Many Thanks in advance.
NT
- 09-01-2008, 02:15 PM #2
What program gives the error message? What kind of app is it?the users are reporting an error
Is it an applet in an HTML page?
What is the applet doing that it needs permission?
Changes to the .java.policy file would have to be made for all users on their PCs. Not an easy solution. The policytool is used to change the .java.polciy file and using it can be tricky.
- 09-01-2008, 03:32 PM #3
Member
- Join Date
- Sep 2008
- Posts
- 2
- Rep Power
- 0
This is an applet within a webpage.
It looks like the error message is coming from Java RE, if "run" is selected then the message doesn't reappear for that session of internet explorer. If IE is reopened, the message reappears.
I would put an image up, but I only have 2 posts!! (Including this one)
Agreed, the policy tool has given me a headache!!!
I did see that once the user has hit run, a certificate is under control panel \ java, select the security tab and then certificates button. I've tried exporting this certificate and then re-imported it as a system certificate using the keytool. But this doesn't appear to make a difference.
I also found a webpage where it discusses granting permissions to signed code or coming from a URL, so I've added:
grant codebase "mydomain.com" {
permission java.security.AllPermission;
}
or
grant signedBy "Publisher in dialog box" {
permission java.security.AllPermission;
}
to the java.policy file, again, the dialog box still appears..grrrrr :confused:
- 09-01-2008, 04:15 PM #4
Similar Threads
-
Java security
By Zosden in forum Java AppletsReplies: 43Last Post: 08-02-2008, 02:10 PM -
Java Security Applet will not load under a specific user.
By MartyF in forum Java AppletsReplies: 0Last Post: 03-31-2008, 04:35 PM -
java.security.cert.CertificateException: Couldn't find trusted certificate
By Felissa in forum Enterprise JavaBeans (EJB)Replies: 4Last Post: 08-10-2007, 10:09 PM -
java.security.AccessControlException
By cecily in forum Java AppletsReplies: 1Last Post: 08-06-2007, 02:49 AM -
difference between code based security and role based security
By boy22 in forum New To JavaReplies: 1Last Post: 07-23-2007, 11:59 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks