Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Instantiating a SecureRandom object from an applet


  • From: pyin@xxxxxxxxxxxx (Perry L. Yin)
  • Subject: Instantiating a SecureRandom object from an applet
  • Date: Wed, 29 Sep 1999 10:11:53 -0400

Instantiating a SecureRandom object from an applet in Communicator 4.6.1

caused the following exception.  There's no error when running the
applet in IE 5 however.

java.lang.ExceptionInInitializerError:
netscape.security.AppletSecurityException: security.checkpropsaccess.key

#  UniversalPropertyRead privilege not enabled: Reading information
stored in your computer, such as your user name
  at java.security.MessageDigest.getInstance(MessageDigest.java:138)
  at java.security.SecureRandom.<init>(SecureRandom.java:111)
  at
progress.message.security.ProgressSecureRandom.<init>(ProgressSecureRandom.java:82)

.....

The problem appears to be the applet has no permission to access the
security property
file java.security in order to find out which security provider has the
SHA-1 implementation
required for creating the SecureRandom object.   Any help is very much
appreciated.

Perry


---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx