Total members 11894 |It is currently Thu Nov 21, 2024 6:21 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





how to make a secure jar file...using jarsigner r any other option....

Thanks,
Kaviurs




Author:
Newbie
User avatar Posts: 10
Have thanks: 0 time

Hi ,
I found this link :
Code:
http://sf-jarsigner.gforge.inria.fr/alternatives.html


, i hope it is useful

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

Thanx 4 ur reply...
other than Jarsigner any other solution.....


Thanks,
Kaviurs


Author:
Newbie
User avatar Posts: 10
Have thanks: 0 time

Here is the steps :
1. Make sure that you have an SDK 1.4.2 keytool and jarsigner in your path. These tools are located in the SDK bin directory.

2. Create a new key in a new keystore as follows:

keytool -genkey -keystore myKeystore -alias myself

You will get prompted for a information about the new key, such as password, name, etc. This will create the myKeystore file on disk.

3. Then create a self-signed test certificate as follows:

keytool -selfcert -alias myself -keystore myKeystore

This will prompt for the password. Generating the certificate may take a few minutes.

4. Check to make sure that everything is okay. To list the contents of the keystore, use this command:

keytool -list -keystore myKeystore

It should list something like:

Keystore type: jks
Keystore provider: SUN

Your keystore contains 1 entry:

myself, Tue Jan 23 19:29:32 PST 2001, keyEntry,
Certificate fingerprint (MD5):
C2:E9:BF:F9:D3:DF:4C:8F:3C:5F:22:9E:AF:0B:42:9D

5. Finally, sign the JAR file with the test certificate as follows:

jarsigner -keystore myKeystore test.jar myself

Repeat this step with all of your JAR files.

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

Hi again .
Did you hear about advantage of obfuscation in java ?
Code:
http://www.yworks.com/en/products_yguard_about.htm


_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

Good topic thanks :gOOd:

_________________
Please recommend my post if you found it helpful


Author:
Beginner
User avatar Posts: 95
Have thanks: 2 time

Hi,

Thanx 4 ur reply...

Regards,
Kaviurs


Author:
Newbie
User avatar Posts: 10
Have thanks: 0 time
Post new topic Reply to topic  [ 7 posts ] 

  Related Posts  to : How to make Secure Jar file
 make jar file for mobile     -  
 How to make PHP form data saved into txt file     -  
 Secure forms without using captcha     -  
 Encrypt/Decrypt a file from source file to target file.     -  
 Copy file to file in java code- implementation     -  
 make a banner     -  
 file descriptor vs file pointer     -  
 getting file name of html input file tag using jsp     -  
 Make A Website In Flash 2     -  
 Make Bling Text     -  



Topic Tags

Java Basics






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com