Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7666347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:48:40+00:00 2026-05-31T14:48:40+00:00

Objective: Secure my Java application from reverse engineering. Idea: split the program into two

  • 0

Objective:

Secure my Java application from reverse engineering.

Idea:

  1. split the program into two halves (loader and program)
  2. loader will be a regular jar
  3. program will be an encrypted jar file (bouncycastle, AES?)
  4. loader asks secure server (https) for a key to decode program
  5. loader then decodes program and loads up it’s classes

Questions:

Would number 5 be possible?
Has anyone here done this?
Do you know any library already available?
Can you spot major pitfalls / would you do it differently?

Extra

I know it is impossible to prevent full reverse engineering of the code.
I’m just looking to make it harder and more traceable.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T14:48:42+00:00Added an answer on May 31, 2026 at 2:48 pm

    This is very possible using Class Loaders. But it is still very easy to decode your program. All one would need to do is change your Loader to write all the classes to disc before it loads them into memory with your custom ClassLoader.

    Update

    If the Loader is something your users can execute then I would just need to decompile and replace the Loader JAR file to dump the classes to disk. Not only that I am certain there must be something that can take a memory dump of a JVM and output all of the loaded byte code.

    If the Loader is on a locked machine in which users cannot obtain access, then what is the Use Case you are trying to solve?

    The “solutions” to these problems are:

    1. Use an advanced Obfuscator that is designed to break decompilers.
    2. Prevent access to the JAR files themselves. Either through ACL’s on the machine or by employing a remote server to execute the code you want secure. This is essentially how Web Applications work. There can be a substantial amount of IP or processing that Stackoverflow does but we would never have access to the back-end processing, on the result of the User Experience output.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Objective-C / Cocoa: I need to load the image from a JPG file into
i am currently trying to secure my Objective-c application with a password. What I
Objective: My script will download a remote file upon form submission, since the file
The Objective Caml language will only produce stack traces if you ask for them
My objective is to get the answer from up to 6000 Urls in the
Where can I find an industry-accepted secure pseudo-random number generator for Objective-C? Is there
I'm a complete newbie to Objective-C, coming from a background of PHP, assorted dialects
In Objective C ARC, is it safe to do [[[MYObject alloc] init] callingSomeMethod]? Will
Objective C - iPhone Application I have 2 programatically instantiated UINavigationControllers In controller 1
Objective-J is compiled/transformed into JavaScript directly on the browser. (This is contrast to doing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.