| View previous topic :: View next topic |
| Author |
Message |
Thomas Duehrsen Guest
|
Posted: Thu Nov 11, 2004 4:50 pm Post subject: Prevent JAR file from modification |
|
|
Hi
we want to deploy a web archive (*.war file) or just jar files to our
customers. We do all customer specific modifications to the included
XML configuration files before deployment and want to prevent the
customers from changing any configurable parameters.
How can this be achieved? I was thuinking of using jarsigner, but
don't see how i can force a webserver to load only jarfiles which were
signed by my company.
Thanks
Thomas
|
|
| Back to top |
|
 |
Juha Laiho Guest
|
Posted: Thu Nov 11, 2004 8:10 pm Post subject: Re: Prevent JAR file from modification |
|
|
[email]thomas.duehrsen (AT) sicap (DOT) com[/email] (Thomas Duehrsen) said:
| Quote: | we want to deploy a web archive (*.war file) or just jar files to our
customers. We do all customer specific modifications to the included
XML configuration files before deployment and want to prevent the
customers from changing any configurable parameters.
How can this be achieved?
|
You book a meeting with your lawyer and design a contract that prohibits
your customer from modifying the files. And hope that your local laws
don't invalidate such contracts.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
|
|
| Back to top |
|
 |
steve Guest
|
Posted: Sun Nov 14, 2004 1:07 am Post subject: Re: Prevent JAR file from modification |
|
|
On Fri, 12 Nov 2004 04:10:31 +0800, Juha Laiho wrote
(in article <cn0gvn$hk8$3 (AT) ichaos (DOT) ichaos-int>):
| Quote: | thomas.duehrsen (AT) sicap (DOT) com (Thomas Duehrsen) said:
we want to deploy a web archive (*.war file) or just jar files to our
customers. We do all customer specific modifications to the included
XML configuration files before deployment and want to prevent the
customers from changing any configurable parameters.
How can this be achieved?
You book a meeting with your lawyer and design a contract that prohibits
your customer from modifying the files. And hope that your local laws
don't invalidate such contracts.
|
if you don't know , don't reply idiot.
*************
pack your config up into a class file.
calculate the mnd5 checksum on the classes,( store them in the them
manifest file , then implement a security loader.
you could go as far as encoding the routines with a private key then issue a
public key in the classfiles for deployment.
|
|
| Back to top |
|
 |
Adam Guillot Guest
|
Posted: Sun Nov 14, 2004 9:36 am Post subject: Re: Prevent JAR file from modification |
|
|
steve wrote:
| Quote: | On Fri, 12 Nov 2004 04:10:31 +0800, Juha Laiho wrote
(in article <cn0gvn$hk8$3 (AT) ichaos (DOT) ichaos-int>):
[email]thomas.duehrsen (AT) sicap (DOT) com[/email] (Thomas Duehrsen) said:
we want to deploy a web archive (*.war file) or just jar files to our
customers. We do all customer specific modifications to the included
XML configuration files before deployment and want to prevent the
customers from changing any configurable parameters.
How can this be achieved?
You book a meeting with your lawyer and design a contract that prohibits
your customer from modifying the files. And hope that your local laws
don't invalidate such contracts.
if you don't know , don't reply idiot.
*************
pack your config up into a class file.
calculate the mnd5 checksum on the classes,( store them in the them
manifest file , then implement a security loader.
you could go as far as encoding the routines with a private key then issue a
public key in the classfiles for deployment.
|
md5 is good but put the md5 sum's somewhere the customer cant change it
(like on a web server on the internet)
|
|
| Back to top |
|
 |
Ferenc Hechler Guest
|
|
| Back to top |
|
 |
|