2 Replies Latest reply: Oct 18, 2010 11:30 AM by 802316 RSS

    Preventing heap dumps and monitoring


      We've got several java desktop applications running in our intranet. They contain sensitive information in the form of Strings and other data inside the code, which can be easily extracted using jmap/jhat or monitoring the application using tools like VisualVM/jconsole.

      I wonder if there's some way the JVM could be started to prevent tools from making heap dumps or attaching to it. I would also need to check from the application's code if that capability is indeed disabled, to abort just in case somebody edited the jvm parameters.

      Any idea/hint about this? Thanks in advance.