| [ PHPXref.com ] | [ Generated: Sun Jul 20 16:49:44 2008 ] | [ Ciamos 0.9.6b ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Source view] [Print]
Ciamos - Content Management System This class is for Ciamos Security
| Author: | Thomas Whitecotton (vi0lat0r) (@link http://www.ciamosbase.com) |
| Copyright: | (C) 2004-2005 Ciamos Development Team. |
| License: | GPL {@link http://www.gnu.org/licenses/gpl.html} |
| File Size: | 442 lines (17 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Security:: (16 methods):
Security()
getRisk()
locateIP()
emailAdmin()
URL()
RefURL()
checkRURL()
UserID()
storeLog()
SecurityEnabled()
LogLid()
showSecurityERR()
checkGlobalVars()
redundantChecking()
countLogs()
showAllLogs()
| Security() X-Ref |
| Function: Security() ---------------------------------------------------------------- Purpose: Required function that sets the security log database table Arguments: Returns/Assigns: $this->log_table recieves security log table location |
| getRisk($risk=1) X-Ref |
| Function: getRisk() ---------------------------------------------------------------- Purpose: Extension function for SysHandler class that gets the security risk level Arguments: $risk Returns/Assigns: Sets $this->risk to the $risk 1 = Low 2 = Medium 3 = High |
| locateIP() X-Ref |
| Function: locateIP() ---------------------------------------------------------------- Purpose: Extension function for SysHandler class that attempts to locate the user's IP Arguments: Returns/Assigns: Returns the uid of the user found, if any |
| emailAdmin() X-Ref |
| No description |
| URL() X-Ref |
| No description |
| RefURL() X-Ref |
| No description |
| checkRURL($rurl='') X-Ref |
| No description |
| UserID() X-Ref |
| No description |
| storeLog() X-Ref |
| No description |
| SecurityEnabled() X-Ref |
| No description |
| LogLid() X-Ref |
| No description |
| showSecurityERR($rurl, $rtime, $message='', $admin=0, $redirect=1, $risk=1) X-Ref |
| No description |
| checkGlobalVars($rurl=SYS_ROOT_URL, $rtime=2, $message=_NOPERM, $index=0, $risk=0) X-Ref |
| No description |
| redundantChecking($k='', $exclusion='', $showsec=0) X-Ref |
| No description |
| countLogs($limit=0, $where='') X-Ref |
| Function: countLogs() ---------------------------------------------------------------- Purpose: Extension function for SysHandler class that counts the total number of logs in the security log table. Arguments: $limit,$where Returns/Assigns: Sets $this->total_logs to the total counted entries in the security log table |
| showAllLogs($limit=0, $where='') X-Ref |
| Retreive all logs from the security log table param: integer $limit SQL entries limit param: string $where SQL where clause return: array of Log entries |
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |