1. Security Pro from FWR Media {
2.3.1 and lower.
a.
Addon
b.
Support
}
2. OSC SEC from Taipo {
2.2rc2a and lower.
a.
Addon
b.
Support
}
3. Filesafe from FWR Media {
2.3.1 and lower
a.
Addon
b.
Support
Filesafe replaces "Site Monitor". Site Monitor is old and tired.
}
4. Add htaccess to all public folders {
2.2rc2a and lower
a. If you still run pre 2.3.1 cart, use the .htaccess files from a 2.3.1 installation.
Example:
https://github.com/osCommerce/oscommerce2/blob/master/catalog/images/.htaccess
}
5. Rename /admin/ and htpasswd it {
2.3.1 and lower
a. if your admin area is located at /admin/ change it now by renaming it to something randomly hard to guess, eg: /d9fne3ufvurjes%kep/
b. amend the file /includes/configure.php (in the newly renamed admin area) to reflect the new name (it should be very obvious where to amend that file!)
}
6. Remove references to (newly renamed) admin area in outgoing emails {
2.3.1 and lower
a. renaming your admin area is great, but it is still possible to find out where it is, by placing an order, as outgoing emails contain the admin address.
More.
}
7. Add extra login parameter (JanZ) {
2.3.1 and lower
a.
link - scroll down to "admin/includes/application_top.php Line 146-151" and start reading.
}
8. Fix $PHP_SELF spoofability {
2.2rc2a and lower
a. Use the PHP_SELF line of code from 2.3.1
a1. Admin:
https://github.com/osCommerce/oscommerce2/blob/master/catalog/admin/includes/application_top.php#L38
a2. Catalog:
https://github.com/osCommerce/oscommerce2/blob/master/catalog/includes/application_top.php#L47
b. Note that SOME contributions update PHP_SELF so you MIGHT not need to change this, example: FWR Media USU5.
b1. The Osc Sec module does not make changes to PHP_SELF, however, Taipo correctly advises in the installation instructions to change this.
}
More thoughts
i.
IP Trapping - pointless. Any "hacker" worth more than a penny is not using his own IP address.
ii.
Removal of File Manager - not needed. There never was a problem with this file, other than the fact it could be accessed thru an insecure admin area. If you have renamed and secured your admin, no problem to leave it as is, if you want to. Personally I would still remove it as it mangles code when used.
iii.
Bad Conduct Banning - I am road testing this. Will update the thread when I have some conclusions.
Edited by burt, 24 May 2011, 11:16.