-->
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.  [ 2 posts ] 
Author Message
 Post subject: Protecting hbm files
PostPosted: Wed Jun 28, 2006 3:58 am 
Newbie

Joined: Wed Jun 28, 2006 3:48 am
Posts: 1
Hi,
I've tried to find out myself how to do that but still have no clue: how to protect hbm files (descriptors of java class <-> database table mapping) by the not authorized user access? I'm writing commercial application and don't want users change my mappings. Could you please suggest me some solution?

--
Peter


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 28, 2006 7:01 pm 
Expert
Expert

Joined: Thu Dec 23, 2004 9:08 pm
Posts: 2008
Run them through an MD5 key generator (or equivalent) and put the keys in your java code. Check the files in your jar against the key at startup time.

_________________
Code tags are your friend. Know them and use them.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.