|
|
#1 |
![]() Join Date: Nov 2004
Posts: 26
![]() |
Dear Mambers
reading through some forums I noticed several sites that might have been hacked! Does anyone have a checklist with items pointing toward a safe mambo environment. Or does anyone know in what forum I can find a discussion on it? eg. - configuration.php attributes set to? - white index.php in every map? - changing passwords on FTP, MySQL ect. We all want to have a safe site maybe we can help other mambers with a Security Checklist for Mambo! (Probably exists but can't find it) Greetz Beuvema |
|
|
|
|
|
#2 |
![]() Join Date: Oct 2003
Location: Minneapolis, MN
Posts: 1,161
![]() |
The core install of Mambo has a blank index.html file in every folder. You can turn of directory listings using .htaccess, so that is not an issue anyway.
If you don't need to change your configuration.php file you can leave it at 0644. In some environments that will still allow Mambo to write to it, in others not. Permissions will be totally controlled by your hosting environment. Not sure why you would ever need to change those. Just make sure it's at least 8 characters and a mix of: uppercase, lowercase, numbers, special characters. That is plenty secure. The reason a checklist can't exist is because every server can be different.
__________________
Doyle Lewis BuyHTTP Internet Services www.mambo-hosting.com - Mambo Optimized Hosting www.mambodemo.com - Free flash tutorials for Mambo |
|
|
|
|
|
#3 |
![]() Join Date: Nov 2004
Posts: 26
![]() |
Thx for your quick response,
Of course different installations are possible, but aren't most installations done on Apache / Linux servers? And this must be merely used as a guideline! For the htaccess part I need some assistance. Is a .htaccess file with following code safe enough? or should something be added? Code:
order allow,deny allow from all require valid-user Authname Enter_Your_Password Authtype Basic AuthUserFile /home/sites/www.sitename.com/web/hta/.htpasswd |
|
|
|
|
|
#4 |
![]() Join Date: Oct 2003
Location: Minneapolis, MN
Posts: 1,161
![]() |
No need for the last 4 lines, that's only if you want to use .htaccess authentication.
Most servers running apache and some flavor of nix (there are tons that people use: rhel, red hat, centos, fedora, etc). The control panel has more to do with permissions than anything else. And the same control panel on a different OS will have different bahaviors regarding permissions.
__________________
Doyle Lewis BuyHTTP Internet Services www.mambo-hosting.com - Mambo Optimized Hosting www.mambodemo.com - Free flash tutorials for Mambo |
|
|
|
|
|
#5 |
![]() Join Date: May 2005
Location: New York City
Posts: 205
![]() |
Most security holes are out of reach of the client. Mambo itself seems pretty secure. The problem are when you install 3rd part components/modules which might have SQL injection problems, the server's software may be outdated and vulnerable, entirely other clients hosted on the same server as you vulnerable to SQL injection (in conjunction with a vulnerability in the server), weak passwords, and tons more. You're really not going to be able to secure much with just .htaccess.
Might this be in part because of that XML-RPC bug that came up a little while ago? Mambo uses XML-RPC.. so has anyone checked to see whether it's vulnerable? |
|
|
|
|
|
#6 |
![]() Join Date: Nov 2004
Posts: 26
![]() |
Thx for the responses so far...
in General, security can be increased by: - Using secure passwords - .htaccess file (turning off directory listings) - configuration.php attributes at 0644 on the .htaccess file the folder to place it in is the mambo root folder? Are the following lines sufficient to turn off directory listings, and are they inherited? Code:
order allow,deny allow from all |
|
|
|
|
|
#7 |
![]() Join Date: Nov 2004
Posts: 26
![]() |
|
|
|
|
|
|
#8 |
![]() Join Date: Oct 2004
Location: Atlanta, GA, USA
Posts: 174
![]() |
LOL. Good one
__________________
MP3 Info Site -- www.mp3-players-review.com |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MSACideas.com - Recycling, Safety and Energy Conservation Materials | denisbaldwin | Sites using Mambo | 1 | August 2nd, 2005 00:39 |
| To Do Checklist | cchhita | Wishlist & Feature Requests | 2 | July 31st, 2005 04:15 |
| Preinstallation Checklist problem | chimster | General Questions | 13 | July 13th, 2005 00:17 |
| template safety | tatibrazil | General Questions | 2 | June 24th, 2005 13:06 |
| Databases and queries : safety | ford | Components | 1 | January 20th, 2005 15:09 |