You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alex Korneyev <ak...@mindspring.com> on 2006/11/23 17:45:00 UTC

Security restriction

Hello,

      i have a quick question.

      if i wanted to restrict what directories tomcat server sees or
      if i want to prevent someone running System.exec( "delete
      everything!!!" ) where would i start?



-- 
Best regards,
 Alex                            mailto:akorneyev@mindspring.com


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Security restriction

Posted by Dima Retov <di...@axisway.com>.
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/SecurityManager.html

You can apply your own Security Manager like web browser does with
applets. 


Thursday, November 23, 2006, 6:45:00 PM, you wrote:



AK> Hello,

AK>       i have a quick question.

AK>       if i wanted to restrict what directories tomcat server sees or
AK>       if i want to prevent someone running System.exec( "delete
AK>       everything!!!" ) where would i start?






-- 
Best regards,
 Dima                            mailto:dima@axisway.com



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org