Hide things in Java | Sololearn: Learn to code for FREE!

Hide things in Java

I wanted to make a Java Project with a SQL Database and the connection inside the jar. Problem is how can I hide/or else do it that no one will see connection information like the password if he decompiles it. Thanks in before.

15th Aug 2018, 7:45 AM
TheSimonLP YT
TheSimonLP YT - avatar
1 Answer
If someone can decompile youre code he can see anything you have done. And he can see how you want to hide something. So there is no way to hide something if a code is decompiled an analysed.
15th Aug 2018, 8:28 AM
Detlef - avatar