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.
As a workaround you can use the Exception Site list feature to run the applications blocked by security settings. Adding the URL of the blocked application to the Exception Site list allows it to run with some warnings.
Navigate to the security folder, /<JRE>/lib/security. The java. security file is listed in the security folder.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With