Just add the following files to C:\Windows\Sun\Java\Deployment folder.
deployment.properties:
deployment.user.security.exception.sites=C:/Windows/Sun/Java/Deployment/exception.sites
deployment.system.config.mandatory=True
deployment.config:
deployment.system.config=file:///C:/Windows/Sun/Java/Deployment/deployment.properties
deployment.system.config.mandatory=True
exception.sites:
http://some.trusted.site/
https://another.trusted.site/
This would affect all users of this machine.
Via:
- Java 7u51 – System Wide Exception Site List an article posted on Systemsynergy
- Oracle Java SE Documentation - Deployment Configuration File and Properties
- Oracle Java SE Documentation - Exception Site List
Just add the following files to C:\Windows\Sun\Java\Deployment folder.
deployment.properties:
deployment.user.security.exception.sites=C:/Windows/Sun/Java/Deployment/exception.sites
deployment.system.config.mandatory=True
deployment.config:
deployment.system.config=file:///C:/Windows/Sun/Java/Deployment/deployment.properties
deployment.system.config.mandatory=True
exception.sites:
http://some.trusted.site/
https://another.trusted.site/
This would affect all users of this machine.
Via:
- Java 7u51 – System Wide Exception Site List an article posted on Systemsynergy
- Oracle Java SE Documentation - Deployment Configuration File and Properties
- Oracle Java SE Documentation - Exception Site List
The exceptions are store here, C:\Users{username}\AppData\LocalLow\Sun\Java\Deployment\security\exception.sites Populate your file with what you want to add, copy it to a file share and use a logon script to copy the file for each user. This will make it to where users will not be able to add new sites.
Source: http://www.experts-exchange.com/Programming/Languages/Java/Q_28518522.html
Videos
The Oracle documentation tells us:
The location of the exception site list is set in the deployment.user.security.exception.sites property. The default location is
<deployment.user.home>/security/exception.sites.
So you could add URLs to that file pretty easily on the command line.
Just checked, on Java 8.111 and Windows 7 Corporate it can be found at
c:\Users\%username%\AppData\LocalLow\Sun\Java\Deployment\security\exception.sites
But I suppose that this file (as well as the whole directory chain) is not created by default. So may be you should first add it by hand, then search for the exact file location.
Hello,
We want to deploy to the my clients java exception list in my company environment via SCCM. How can I achieve this?
Any suggestions would be appreciated!
Thanks!