FileDocCategorySizeDatePackage
TinyHttpdSecurityManager.javaAPI DocExample575Sun Jul 06 17:56:02 BST 1997None

TinyHttpdSecurityManager

public class TinyHttpdSecurityManager extends SecurityManager

Fields Summary
Constructors Summary
Methods Summary
public voidcheckAccept(java.lang.String host, int port)

 
public voidcheckAccess(java.lang.Thread g)

 
public voidcheckLink(java.lang.String lib)

 
public voidcheckListen(int port)

 
public voidcheckPropertyAccess(java.lang.String key)

 
public voidcheckRead(java.io.FileDescriptor fd)

  
public voidcheckRead(java.lang.String s)

 
		if ( new File(s).isAbsolute() || (s.indexOf("..") != -1) )
			throw new SecurityException( "Access to file : "+ s + " denied." );
	
public voidcheckWrite(java.io.FileDescriptor fd)