Security Section Index | Page 2
I am trying to cipher a string and am using weblogic6.0, when i run it as an application the code works, but not when i put it on the application server.
I am trying to cipher a string and am using weblogic6.0, when i run it as an application the code works, but not when i put it on the application server.
Error msg it gives:
<Error> <HTTP...more
What signing tool to use if your applet needs to run in Microsoft Browser and netscape Browser?
The following is an excerpt from java.sun.com
http://java.sun.com/products/jsse/doc/guide/API_users_guide.html#TestInstall
Creating a Certificates File to Use With Navigator or Internet Explorer:...more
How can I encrypt XML documents and transmit them to a remote server?
There is a tool from IBM which handles the Encryption/Decryption of XML documents. You can also do the encryption at element level. The name of the tool is XSS4J and it is available from www.ibm....more
How do I pass an X509 certificate through cascading https servers?
How do I pass an X509 certificate through cascading https servers?
Background: I have a servlet running on web server that requires an X509 Certificate. The servlet needs to call several other UR...more
I've been trying to set up jaas authentication modules.
I've been trying to set up jaas authentication modules on the following :
a) ATG b) WLS and c)JRun.
WLS has built in JAAS support but the other two do not.
Building JAAS auth decreases my work an...more
How can I write to a file to the client with Javascript?
Basically, you cannot write to the client machine directly from the browser as that violates browser security. Such a facility would permit anyone to write a virus in Javascript that could infect ...more
Can I use a in-house CA to sign a JCE provider implementation?
Can I use a in-house CA to sign a JCE provider implementation?
Which free CA software can do this?
I am trying to import a private key generated outside of Java into my keystore with keytool.
I am trying to import a private key generated outside of Java into my keystore with keytool. It seems logical to use the
$keytool -import -file my.key -alias foo
command, but I get an error co...more
I need to receive PKCS12 files and obtain X509Certificates from them in order to extract information. How do I do this?
Keytool can read PKCS12 files as generated by Netscape. It will treat
them as a keystore. An example would be:
keytool -list -rcs -keystore myfile.p12 -storetype pkcs12 -password foobar
Due to...more
I'm trying to create a class for a non-web application that finds out if the user currently logged in the workstation is the administrator or has administrator privileges. What is the best way of doing this?
Use JAAS. It has the authentication module for Windows.
I'm using JSSE api's to write a SSL client application.
I'm using JSSE api's to write a SSL client application.
The SSL server has set the client authentication to true.
I used the following block of code in my SSLClient code.
SSLContext ctx;
KeyManage...more
What tools can i use to protect my Java class files from being decompiled?
HashJava
Neil Aggarwal's Obfuscate and ObfuscatePro
JOBE - The Java Obfuscator
HoseMocha
preEmptive Solutions, Inc's Dash0 Java Obfuscator/Opt...more
How can I add S/MIME support to JavaMail?
You basically need to get an S/MIME provider:
ISNetworks
Please add additional providers as feedback.
my own java.security.policy? - I need more control over the security aspects that cannot be handled by "java.policy". Can i build my own Policy implementation?
JavaGeeks.com has an excellent article on the knowledge necessary to "roll your own" Java Security Policy implementations:
http://www.javageeks.com/Papers/JavaPolicy/JavaPolicy.pdfmore
Set Permissions for Reflection? - Can i enable/disable permissions for the Reflection Mechanism?
Yes, You can use java.lang.reflect.ReflectPermission in policy file to control it.
grant {
permission java.lang.reflect.ReflectPermission
"suppressAccessChecks";
};
More information can f...more