Index: sites/all/modules/contrib/securesite/securesite.inc =================================================================== --- sites/all/modules/contrib/securesite/securesite.inc (revision 4269) +++ sites/all/modules/contrib/securesite/securesite.inc (working copy) @@ -271,7 +271,7 @@ function _securesite_forced() { global $base_path; // Do we require credentials to display this page? - if (php_sapi_name() == 'cli' || $_GET['q'] == 'admin/reports/request-test') { + if (php_sapi_name() == 'cli' || $_GET['q'] == 'admin/reports/request-test' || in_array($_SERVER['REMOTE_ADDR'], explode(',', variable_get('securesite_whitelist', NULL)))) { return FALSE; } else { Index: sites/all/modules/contrib/securesite/securesite.admin.inc =================================================================== --- sites/all/modules/contrib/securesite/securesite.admin.inc (revision 4269) +++ sites/all/modules/contrib/securesite/securesite.admin.inc (working copy) @@ -189,6 +189,14 @@ '#maxlength' => 40, '#description' => t('Name to identify the log-in area in the HTTP authentication dialog.'), ); + $form['authentication']['securesite_whitelist'] = array( + '#type' => 'textfield', + '#title' => t('Access Whitelist'), + '#default_value' => variable_get('securesite_whitelist', ''), + '#length' => 30, + '#maxlength' => 40, + '#description' => t('A list of comma separated ips to allow on you site without validation.'), + ); $form['guest'] = array( '#type' => 'fieldset', '#title' => t('Guest access'),