View Full Version : Send eMail from admin-login when wrong provider

03-31-2010, 01:01 PM
As additional protection for your admin-area, I've uploaded a small package, which includes the /catalog/admin/login.php.

It will send an email to the store-owner's email address, when the login-page is accessed/viewed from another then two to-be-defined provider networks.

For example:
network 1 = office = hostname xxx.pacbell.net
network 2 = home = hostname xxx.cable.mindspring.com

If you or anyone from another provider accesses (means view) your login page, you will receive an email notifying you about it.

If this access is not caused by yourself, you should make an audit of your site.

This contribution is just a small additional protection, but other protection mechanism like htaccess is highly recommended.

Installation: just replace the /catalog/admin/login.php
The changes are beginning at line 107.
Take care about the settings in line 113/114


More... (http://addons.oscommerce.com/info/7323)