resin directory access security issues

Category: Web Develop
 
ybb2006
2009-06-21 06:21:58

Sponsored Links
How to configure web space space users can only access their own directory, you can not access other system files;
I use window 2000 + resin3.0
a successful example of a friend to come out

I start sandbox security configuration, the results throwing error,
500 Servlet Exception
java.security.AccessControlException: access denied (java.io.FilePermission
E: \ htdocs read)
at java.security.AccessControlContext.checkPermission (AccessControlContext.java: 264)
at java.security.AccessController.checkPermission (AccessController.java: 427 )
at java.lang.SecurityManager.checkPermission (SecurityManager.java: 532)
at java.lang.SecurityManager.checkRead (SecurityManager.java: 871)
at java.io . File.isDirectory (File.java: 721)
at com.caucho.vfs.FilePath.isDirectory (FilePath.java: 245)
at com.caucho.vfs.MergePath.addMergePath (MergePath . java: 168)
at _jsp._index__jsp.init (_index__jsp.java: 79)
at com.caucho.jsp.JspManager.loadPage (JspManager.java: 375)
at ; com.caucho.jsp.JspManager.createPage (JspManager.java: 188)
at com.caucho.jsp.JspManager.createPage (JspManager.java: 159)
at com.caucho.jsp . PageManager.getPage (PageManager.java: 235)
at com.caucho.jsp.PageManager.getPage (PageManager.java: 153)
at com.caucho.jsp.QServlet.getSubPage (QServlet . java: 292)
at com.caucho.jsp.QServlet.getPage (QServlet.java: 210)
at com.caucho.server.dispatch.PageFilterChain.compilePage (PageFilterChain.java: 186 )
at com.caucho.server.dispatch.PageFilterChain.doFilter (PageFilterChain.java: 123)
at com.caucho.server.webapp.WebAppFilterChain.doFilter (WebAppFilterChain.java: 178)
at com.caucho.server.dispatch.ServletInvocation.service (ServletInvocation.java: 229)
at com.caucho.server.http.HttpRequest.handleRequest (HttpRequest.java: 268)
at com.caucho.server.port.TcpConnection.run (TcpConnection.java: 389)
at com.caucho.util.ThreadPool.runTasks (ThreadPool.java: 492)
at com . caucho.util.ThreadPool.run (ThreadPool.java: 425)
at java.lang.Thread.run (Thread.java: 595)


Sponsored Links

sai5310322
2009-06-21 06:36:09
I have encountered this problem.
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.