Signing your code is a two step process. First put your classes, graphics, sounds, etc. into a CAB file "" with the following command:

cabarc.exe -p -r -P g:\inetpub\wwwroot\java N *.*

Options: -p option means to save directory structure. -r means recurse subdirectories -P means strip specified prefix from files when added

Second, sign the cab file with the command:

signcode -spc c:\keys\MyCred.spc -v c:\keys\MyKey.pvk

Options: -spc location and name of your credentials file -v location and name of you private key file

You now have a signed CAB file that has access to all available resources.

Posted in: Java

Related FAQ's

Marius Ion ANGEL HOT SOFT LLC (800) 316-7677