This is a new version of one the Big5: the security class
This new version supports connectors and queries class and should be compatible with the old one
Located in /PHPDS_security.class.php (line 26)
PHPDS_dependant | --security | --PHPDS_security
Cleaned up $_COOKIE.
Cleaned up $_GET.
Cleaned up $_POST.
Cleaned up $_REQUEST.
Cleaned up $_SESSION.
Inherited from PHPDS_dependant
PHPDS_dependant::$dependance
PHPDS_dependant::$parent
Check if a user has access to a given menu id.
Returns current logged in user id.
Decrypts a string with the configuration key provided.
Encrypts a string with the configuration key provided.
Simple method to return users IP, this method will be improved in the future if needed.
Creates a "secret" version of the password
Check is user is logged in, return false if not.
Check if user is a root user.
Check if the currently logged in user is the same group as the given user
This can be used to check if the current user is allowed access to the given user's data
Use inside your form brackets to send through a token validation to limit $this->post received from external pages.
This is used in the search filter to validate $this->post made by the search form.
This method does the actual security check, other security checks are done on a per call basis to this method in specific scripts.
Improved version reduces the cost of queries by 3, I also believe that this is a more secure method.
Function just like mysql_real_escape_string, but does so recursive through array.
Simple method to return users IP, this method will be improved in the future if needed.
Validates email address.
Use inside your form brackets to send through a token validation to limit $this->post received from external pages.
Inherited From security
security::access_menu()
security::delete_persistent_cookie()
security::do_login()
security::hash_password()
security::is_logged_in()
security::is_root()
security::is_same_group()
security::load_security()
security::lookup_persistent_user()
security::lookup_user()
security::post_validation()
security::prevent_sql_injection()
security::search_validation()
security::set_guest()
security::set_persistent_cookie()
security::user_ip()
Inherited From PHPDS_dependant
PHPDS_dependant::__construct()
PHPDS_dependant::construct()
PHPDS_dependant::debugInstance()
PHPDS_dependant::factory()
PHPDS_dependant::factoryWith()
PHPDS_dependant::info()
PHPDS_dependant::log()
PHPDS_dependant::PHPDS_dependance()
PHPDS_dependant::_log()
PHPDS_dependant::__call()
PHPDS_dependant::__get()
PHPDS_dependant::__set()
Documentation generated on Tue, 09 Aug 2011 09:05:19 +0200 by phpDocumentor 1.4.3