Link to home
Start Free TrialLog in
Avatar of owonseed
owonseed

asked on

Encrypt XSL

Hi,

I'm looking for a solution to protect the xsl from our outsite vendors from seeing it. I'm creating a Java desktop application to do the transform works.

Is there a secure way to encrypt the xsl? I think the XSL can be compiled into a class. I wonder how secure it could be if somebody try to reverse engineer it to get to the source (or close to the original source).

I hope the experts in this field can provide some valuable insight.

I'm open to other suggestion as well. Thank you!

OwonSeed

ASKER CERTIFIED SOLUTION
Avatar of jkmyoung
jkmyoung

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of owonseed
owonseed

ASKER

Saxon has limitation on the XSL compilation:

"Stylesheet compilation is not currently supported for schema-aware stylesheets, specifically, for stylesheets that contain an <xsl:import-schema> declaration."

This unfortunately does not allow me to use the Saxon XSL Compilation.

If I encrypt the XSL using java, and decrypt it when I need it, would the decrypted XSL be stored as memory or physical file in local temp folder? My concern is whether a user can look for the decrypted XSL file from the local file system.

- OwonSeed
SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial