I haven’t had much time to post lately but wanted to quickly update my earlier post about scripting changes to Java’s deployment.properties file.
We had to create a security exception for a particular website on a large number of PCs. These exceptions are stored in plaintext in the “exception.sites” file, which can be found at c:\Users\profilename\AppData\LocalLow\Sun\Java\Deployment\security\ – note this is one level below the “deployment.properties” file itself.
I updated my original script to modify the “exception.sites” file as well. All you need to do is add the sites you need to create exceptions for as comma separated URLs in the line shown below:
SiteExceptions = Array ("http://sitetounblock.com", "https://site2.com")
I also made a few changes to prevent infinite loops that occasionally occur as a result of what seems to be an odd set of circumstances in checking the AtEndOfStream property.
As always, use at your own risk and please test thoroughly before putting into production.