V
V
vvsh2012-08-09 16:16:00
Java
vvsh, 2012-08-09 16:16:00

Is application data safe while the JVM is running?

Hello.
There was such a question, is it possible to access from the outside to the objects that the JVM stores?
Thank you

Answer the question

In order to leave comments, you need to log in

2 answer(s)
1
1nd1go, 2012-08-09
@1nd1go

In fact yes. You can do a heap dump with jconsole (all users can do this) Then jvm will create a heapdump file with read permissions only for the user on behalf of which the jvm plows. So control who has access to this user.

A
Alexey Huseynov, 2012-08-09
@kibergus

Certainly not. There is no way to protect.
More specifically, what is safe from whom? If the program is running on a local machine, then I can get into any piece of memory as root. What can I say, with physical access, you can even pull out the memory bar, insert it into another computer and read the data on it. If you freeze it with a cooling spray, then the data will not have time to be erased.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question