Buy Sell Discuss UK Domain Names at AcornDomains.co.uk

Today's Drop Dates are: 19-02-2012 or 26-02-2012   All times are GMT. The time now is 09:24:34 AM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking Subscribe to our Domains For Sale newsletter
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > Website Design and Promotion > Content Management Systems > Joomla
Connect with Facebook

Joomla Joomla CMS

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 15-02-2010, 11:03:04 PM     #1 (permalink)
mat

 
mat's Avatar
 
Join Date: Apr 2007
Location: Hampshire
Posts: 3,328
mat has a reputation beyond reputemat has a reputation beyond reputemat has a reputation beyond reputemat has a reputation beyond reputemat has a reputation beyond reputemat has a reputation beyond reputemat has a reputation beyond reputemat has a reputation beyond reputemat has a reputation beyond reputemat has a reputation beyond reputemat has a reputation beyond repute

Securing Joomla

Hi guys. I have had my Joomla sites hacked quite a few times now and decided tonight to take some action. This may be helpful for quite a few of you, although it is a well known technique.

The idea is to move the configuration out of the public_html folder to stop most hacking attempts. Most hackers rely on the fact that your config file will be located in the standard Joomla structure. If it is then you are leaving yourself open to this kind of attack...

Step by step:

1) Backup your configuration.php

2) FTP to your Joomla Website

3) Create a new folder outside of your public_html where you will put

your configuration.php. Call it what you want.

4) Move your configuration.php file to your new folder outside of the public_html

5) Rename it to something new, for example "yourwebsitenameconfig.php" This also helps tell it apart if you will be placing more than one joomla config in this area.

6) Create a new blank configuration.php in your editor or notepad, which will be uploaded to the joomla site directory to replace what you have just moved.

Put the following code into it with no empty lines above or below:


<?php
require( '/home/xxxxxx/YOURNEWFOLDER/yourwebsitenameconfig.php' );
?>


Ofcourse replace the above x's, folder name and config name with your server path and directory names. This file is basicly telling your site where to find the config file you have moved outside the public_html.


6) Save it and upload it to your Joomla site where the original config file was.

7) Now change your new config file privileges to 444.


Refresh your site and hope its all still working
__________________
Mathew.co.uk - Follow me on Twitter here
mat is offline  
Closed Thread



Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
Why is protecting and securing your domain names important from an ... - Linex Legal RSS Domain Name News 0 28-09-2009 01:59:07 PM
moving a Joomla site admin Joomla 2 11-09-2009 11:38:57 AM
joomla - Google Maps andrewgalpin Joomla 12 19-10-2008 03:41:18 PM
Joomla errors in Internet Explorer admin Joomla 1 26-11-2007 09:14:50 AM

Domain Sponsor 2


All times are GMT. The time now is 09:24:34 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".