Documentation Contents

Preventing RIAs from Being Repurposed

Rich Internet Applications Development and Deployment > Preventing RIAs from Being Repurposed

Contents

Identifying Valid Permissions Level and Codebase

The following attributes for the JAR file manifest were introduced in the JDK 7u25 release to defend RIAs against unauthorized code repurposing:


Note: These attributes apply to signed applets and Java Web Start applications. The attributes are ignored for stand-alone Java applications.

Examples

If you have a RIA that runs in the security sandbox and is expected to be accessed from https://example.com, add the following attributes to the manifest:

Permissions: sandbox
Codebase: https://example.com

If the RIA is also available from example.backup.com:8080, include both domains for the Codebase attribute:

Codebase: https://example.com example.backup.com:8080

Additional Information

See Attributes for the JAR File Manifest for information on other manifest attributes that are available.

For information on adding attributes to the JAR file manifest, see Modifying a Manifest File in the Java Tutorial.


Oracle and/or its affiliates Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.
Contact Us