/plugins/vadmin/includes/vadmin_functions.incvadmin_functions.inc --------------------- All Vadmin-wide functions are in this file.
Licensed under GNU GPL v2. Please see COPYING for full terms.
$Id: vadmin_functions.inc,v 1.54 2003/07/09 22:05:37 graf25 Exp $
spew (line 22)
This is a debugging function.
vadmin_auth (line 216)
This function is the authentication core of vadmin. Read the docs/SECURITY for the in-depth explanation on how the security is handled in vadmin.
vadmin_crypto (line 446)
This function does the encryption and decryption of sensitive data stored on the HDD. It uses the CRYPTO_HASH_LINE as key.
See docs for more info and/or explanation of the security structure of VADMIN.
vadmin_domain_passwd_validate (line 280)
Tries to validate the supplied domain/password pair by connecting to the vmailmgr daemon and getting a listing for the domain in question.
vadmin_getdomain (line 542)
vadmin_gethost (line 554)
vadmin_getvar (line 45)
This function retrieves various php-provided variables in a sane and safe way, offering a path of migration from php 4.0.x to 4.1 and beyond, as well as allowing us to work with register_globals=off.
vadmin_get_storparams (line 534)
vadmin_get_user_number (line 621)
vadmin_get_user_unamedomain (line 249)
Looks at the user's login name, which should be either user@domain.com or user:domain.com, and separates the userid from the domain name, returning them in an array.
vadmin_list_virtual_domains (line 579)
vadmin_make_page (line 314)
This is a GUI wrap-around for every generated page, since I'm too lazy to write one for each generated page, nor should I. ;) $scriptsrc is not currently used in vadmin, but I preserved it from SquirrelSpell in case I will add this functionality later.
vadmin_mkform_action (line 512)
vadmin_putvar (line 125)
This function sets certain variables that should be handled safely.
vadmin_rc4_crypt (line 395)
This function stolen nearly verbatim from hastymail.
http://hastymail.sf.net/
vadmin_redirect (line 522)
vadmin_security_breach (line 155)
This utility function notifies the user that they have attempted an action that was deemed as violating security by the system.
It used to carry an "INTRUDER ALERT ON DECK 5", but I changed it to be more non-geek friendly. ;)
vadmin_smart_limit (line 609)
vadmin_system_error (line 169)
This function displays an error message if the error was due to system malfunction and not user input.
vadmin_trim_array (line 637)
vadmin_user_error (line 192)
This function displays an error message if the error was due to the user input.
Documentation generated on Sun, 22 Nov 2009 17:36:53 +0200 by phpDocumentor 1.4.3