Forums Register Login

obfuscate servlet class files

+Pie Number of slices to send: Send
I wish to know how to obfuscate the java class files before uploading them to a tomcat 7 server? I have searched for about 4 weeks and have found that it is possible but have not found how to do it.

I been reading that proguard or yguard can do it, but in reading there documentation they only work for jar files. and my servlets are .class files.

Can anyone advise?
+Pie Number of slices to send: Send
If your obfuscators can only work with jars, then put your servlet classes into a jar and obfuscate them. Tomcat can handle jars perfectly well as a container for servlet classess, just make sure you put the jar into WEB-INF/lib.
+Pie Number of slices to send: Send
Paul, thanks for the reply. Actually I completely forgot about that. Thanks. I will give that a try.

I keep getting a post that says to try Aspose, is that an auto response?

I called Aspose sales desk, they no longer have Aspose obfuscator as an download option.
+Pie Number of slices to send: Send
 

Chad Cannister wrote:I keep getting a post that says to try Aspose, is that an auto response?



No, it's advertising.
30 seconds to difuse a loaf of bread ... here, use this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1070 times.
Similar Threads
ClassNotFoundException while using yguard
yGuard has trouble dealing with configuration files and JSPs
Problem in Obfuscate war file
Obfuscating using Yguard
Loading Jar file dynamically from an InputStream
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 04:49:45.