IT researcher
IT researcher

Reputation: 3304

Change Java Security level

Java 7 update 51 has java security level which is set to HIGH by default. I want to change it to medium by using registry or by adding any files. I observed that manually changing security level to medium from high creates registry

[HKEY_CURRENT_USER\Software\JavaSoft\DeploymentProperties]
"deployment.security.level"="MEDIUM"

But if i manually create the above registry then java security setting does not change and created registry gets deleted. So I think there must be other files which does it. So how can I change java security setting? I have seen some articles and forum links but didn't get what I wanted. Also this is not to set security level for my customers and it is for my office where number of employees need to change this setting(all are windows OS pc's) and it will be easy if there is automation like code or a registry entries.

Upvotes: 6

Views: 25508

Answers (3)

lexa-b
lexa-b

Reputation: 1939

This bug has been described here.
I was resolved it by downgrading to version 7u25

Upvotes: 0

Dhiraj Himani
Dhiraj Himani

Reputation: 1092

Thanks for your help The proper path is

C:\Users\Your_Account_Name\AppData\LocalLow\Sun\Java\Deployment\deployment.properties

enter at the last line

deployment.security.level=MEDIUM

restart the browser and good to go

Upvotes: 1

scigor
scigor

Reputation: 1617

To change the security settings you need to modify the deployment.config of java (not the registry). It is located at

Windows Directory\Sun\Java\Deployment\deployment.config // system level

or

User Application Data Folder\LocalLow\Sun\Java\Deployment\deployment.properties // user level

You need to add the entry:

deployment.security.level=MEDIUM

The documentation on this can be found here: http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/properties.html

Hope this helps.

Upvotes: 4

Related Questions