* @copyright 2004 by http://wombat.exit0.net * @package wombatSite * @subpackage user */ /** * Keep out! * * This quite cheap authentication module makes sure, that no one * may have access to the page that requires this authentication * method. Therefore there are no practical applications at all, * besides you want to use this module as a quick way to close down * the whole site. * * It is not recommended to use this authenication module to disable * pages! Instead if denieing access to a page, you should move the * unwanted pages to the directory "pages_unused" in the configuration * directory. Disabling pages in that way displays the default page * (like if the page doesn't exist at all) instead of the "Permission * denied" page - which is usually what you want. * * The opposite module is Null - which grants access for everyone * * @version 0.1 * @package wombatSite * @subpackage user */ class wbAuthorize_False { /** * authorize against rule * * @access public * @param string $rule * @return boolean $result true on success */ function checkAuthorisation( $rule ) { return false; } } ?>