Java Password extension Unrestricted permissions policy file

Source: Internet
Author: User

Because of restrictions on import controls in some countries, the addition and decryption of Java-issued run environment packages is limited. For example, the default is not to allow 256-bit key AES encryption, the workaround is to modify the policy file.

The official website provides a download of the JCE unrestricted permissions policy file:

JDK6 's:
Http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html

JDK7 's:
Http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html

After downloading, you can see Local_policy.jar and Us_export_policy.jar as well as Readme.txt.

If you have a JRE installed, place two jar files under%jre_home%\lib\security to overwrite the original file, and remember to back it up first.

If the JDK is installed, the two jar files are also placed under%jdk_home%\jre\lib\security.

Because information security is extremely important in the military, such as the use of radio during the Second World War, if the successful decryption of the enemy's confidential information, is often indicative of the victory of the war,
Therefore, the United States for encryption and decryption software export restrictions, the JDK default encryption key length is shorter, the encryption strength is low, and the file in UnlimitedJCEPolicyJDK7 is not such a limitation, so in order to obtain better encryption strength, need to replace the two files.

Java Password extension Unrestricted permissions policy file

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.