-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: obfuscation...!
PostPosted: Mon Dec 15, 2003 4:52 pm 
Beginner
Beginner

Joined: Tue Nov 18, 2003 12:34 am
Posts: 39
Location: Dallas, Texas, US
Hello,

I am writing with a little concern with regards to obfuscation... Allow me to ask these questions...

1. How do I handle the situation when my java files will be obfuscated and the mapping documents still contain the un-obfuscated names? I can't use obfuscated names in the hibernate xdoclet as I can't predict them...
2. Is there a way to obfuscate hibernate mapping documents as well?

Any tips or tricks much appreciated...

Thanks in advance,
Madhan.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 17, 2003 1:37 am 
Expert
Expert

Joined: Fri Nov 07, 2003 4:24 am
Posts: 315
Location: Cape Town, South Africa
Quote:
2. Is there a way to obfuscate hibernate mapping documents as well?

Not as far as I know. Unless your obfuscator is clever enough to rename fully qualified resource names in non-class files (and your class name references are fully qualified!). I don't know if any obfuscators can do this.


Quote:
1. How do I handle the situation when my java files will be obfuscated and the mapping documents still contain the un-obfuscated names? I can't use obfuscated names in the hibernate xdoclet as I can't predict them...


Don't rename the classes that have references in resource files. Renaming class files is just one part of the obfuscation process - you can still obfuscate these classes using other means e.g. flow obfuscation. Of course this depends on which obfuscator you are using.

Justin


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 17, 2003 12:08 pm 
Beginner
Beginner

Joined: Tue Nov 18, 2003 12:34 am
Posts: 39
Location: Dallas, Texas, US
Thank you!
#1. Yes, I don't think any obfuscator could to do that.
#2. Thanks!
Madhan.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 18, 2003 6:02 am 
Beginner
Beginner

Joined: Fri Nov 28, 2003 3:45 am
Posts: 23
Location: malaysia
hello,


any suggestion which obfuscator both commercial and open source could handle the task if one decided to perform obfuscation through jar , where

individual class or client access are packaged as jar
In my opinion , one does not need to pay so much attention whether the mapping through POJO are obfuscated or not , it is the client programme that should deserve the attention, of course that include some of the user own self created jar library too so that the fruit of one's work would not be in wrong hand if one decided to make a living as programmer, who know you could be programme for military sensitive info.

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.