[ class tree: plugins ] [ index: plugins ] [ all elements ]

Procedural File: security-logger.php

Source Location: /zp-extensions/security-logger.php

Page Details

Places security information in a security log The logged data includes the ip address of the site attempting the login, the type of login, the user/user name, and the success/failure. On failure, the password used in the attempt is also shown.

Author:  Stephen Billard (sbillard)
Classes
Class Description
security_logger Option handler class
Functions
security_logger_adminAlbumGate  [line 281]

Logs blocked accesses to Managed albums

Parameters:
bool   $allow:  set to true to override the block
string   $page:  the "return" link


void security_logger_adminAlbumGate( bool $allow, string $page  )

[ Top ]
security_logger_adminGate  [line 270]

Logs blocked accesses to Admin pages

Parameters:
bool   $allow:  set to true to override the block
string   $page:  the "return" link


void security_logger_adminGate( bool $allow, string $page  )

[ Top ]
security_logger_adminLoginLogger  [line 193]

Logs an attempt to log onto the back-end or as an admin user Returns the rights to grant

Parameters:
int   $success:  the admin rights granted
string   $user: 
string   $pass: 
   $auth: 


int security_logger_adminLoginLogger( int $success, string $user, string $pass, [ $auth = 'zp_admin_auth']  )

[ Top ]
security_logger_admin_XSRF_access  [line 306]

Loggs Cross Site Request Forgeries

Parameters:
bool   $discard: 
string   $token: 


bool security_logger_admin_XSRF_access( bool $discard, string $token  )

[ Top ]
security_logger_federatedLoginLogger  [line 226]

Logs an attempt to log on via the federated_logon plugin Returns the rights to grant

Parameters:
int   $success:  the admin rights granted
string   $user: 
string   $pass: 


int security_logger_federatedLoginLogger( int $success, string $user, string $pass  )

[ Top ]
security_logger_guestLoginLogger  [line 240]

Logs an attempt for a guest user to log onto the site Returns the "success" parameter.

Parameters:
bool   $success: 
string   $user: 
string   $pass: 
string   $athority:  what kind of login


bool security_logger_guestLoginLogger( bool $success, string $user, string $pass, string $athority  )

[ Top ]
security_logger_Logger  [line 76]

Does the log handling

Parameters:
int   $success: 
string   $user: 
string   $name: 
string   $ip: 
string   $type: 
string   $authority:  kind of login
string   $addl:  more info
   $action: 


void security_logger_Logger( int $success, string $user, string $name, string $ip, $action, string $authority, [string $addl = NULL], string $type  )

[ Top ]
security_logger_log_action  [line 318]

logs security log actions

Parameters:
bool   $allow: 
string   $log: 
string   $action: 


void security_logger_log_action( bool $allow, string $log, string $action  )

[ Top ]
security_logger_log_setup  [line 330]

Logs setup actions

Parameters:
bool   $success: 
string   $action: 
string   $file: 
   $txt: 


void security_logger_log_setup( bool $success, string $action, $txt, string $file  )

[ Top ]
security_logger_populate_user  [line 173]

returns the user id and name of the logged in user


void security_logger_populate_user( )

[ Top ]
security_logger_UserSave  [line 293]

logs attempts to save on the user tab

Parameters:
string   $discard: 
object   $userobj:  user object upon which the save was targeted
string   $class:  what the action was.


void security_logger_UserSave( string $discard, object $userobj, string $class  )

[ Top ]


Documentation generated on Tue, 20 Dec 2011 16:08:01 +0100 by phpDocumentor 1.4.3