How to restrict custom String to only one specific component?

I need to restrict a JNDI custom string resource to not be visible in the global JNDI space, but solely in the private JNDI space of one particular component (or at least, one particular WAR file). The target is that this string value MUST NOT be visible by browsing the JNDI context using any other component (or at least any other WAR file). I could not find a solution in the admin GUI, but maybe there is a way to directly modify the domain.xml to configure such a visability restriction? The cause is data privacy.