Top "Securitymanager" questions

A security manager is an object that defines a security policy for an application.

Java: no security manager: RMI class loader disabled

Hi I have RMI application and now I try to invoke some methods at server from my client. I have …

java networking remoting rmi securitymanager
Tomcat console log to a file

Im using Apache Tomcat 7. When I'm running Tomcat with security manager and with the -Djava.security.debug parameter I'm getting …

java tomcat logging securitymanager
Preventing System.exit() from API

I am using a third party library that does a System.exit() if it encounters exceptions. I am using the …

java securitymanager
Java Security Manager - What does it check?

This article about Java security says: Code in the Java library consults the Security Manager whenever a dangerous operation is …

java securitymanager
java.lang.ClassNotFoundException: (no security manager: RMI class loader disabled)

I met this issue and tried for long time, still couldn't solve it. All the solutions in similar topics in …

java rmi policy securitymanager
How to sanely configure security policy in Tomcat 6

I'm using Tomcat 6.0.24, as packaged for Ubuntu Karmic. The default security policy of Ubuntu's Tomcat package is pretty stringent, but …

java tomcat ubuntu tomcat6 securitymanager
Java Policy file - Deny permissions to a codebase

In the Java policy file, the grant codeBase syntax specifies which codebase should be granted which permissions. for example, grant …

java securitymanager policyfiles
Limiting file access in Java

Problem: In my Java application (not an applet) I wish to limit certain file operations to all classes except a …

java io policy securitymanager
Java SocketPermission policy question

I have a client and server program that attempt to communicate with each other. In my policy file for the …

java policy securitymanager
Java security: Sandboxing plugins loaded via URLClassLoader

Question summary: How do I modify the code below so that untrusted, dynamically-loaded code runs in a security sandbox while …

java classloader securitymanager urlclassloader