public static function isAllowedAbsPath($path) {
		if (self::isAbsPath($path) &&
				self::validPathStr($path) &&
				(self::isFirstPartOfStr($path, PATH_site)
						||
						($GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath'] && self::isFirstPartOfStr($path, $GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath']))
				)
		) {
			return TRUE;
		}
	}
public static function isAllowedAbsPath($path) {
		if (self::isAbsPath($path) &&
				self::validPathStr($path) &&
				(self::isFirstPartOfStr($path, PATH_site)
						||
						($GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath'] && self::isFirstPartOfStr($path, $GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath']))
				)
		) {
			return TRUE;
		}
	}
public static function isAllowedAbsPath ( $ path ) { if ( self :: isAbsPath ( $ path ) && self :: validPathStr ( $ path ) && ( self :: isFirstPartOfStr ( $ path , PATH_site ) || ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'BE' ] [ 'lockRootPath' ] && self :: isFirstPartOfStr ( $ path , $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'BE' ] [ 'lockRootPath' ] ) ) ) ) { return TRUE ; } }
Returns TRUE if the path is absolute, without backpath '..' and within the PATH_site OR within the lockRootPath

@param string $path File path to evaluate
@return boolean
Returns TRUE if the path is absolute without backpath .. and within the PATH_site OR within the lockRootPath