Pritesh Mahajan
Pritesh Mahajan

Reputation: 5154

Is this possible to create new configuration file in joomla

My Joomla site is hacked and now i want to safe my configuration.php file. i have set permission as well but i need more secure. So is this possible to make a new configuration file and call from current configuration file by require_once or include method.

Upvotes: 0

Views: 72

Answers (1)

Hirdesh Vishwdewa
Hirdesh Vishwdewa

Reputation: 2362

You can try these for securing your configuration.php :-

  1. Keep your configuration.php file outside public_html
  2. Try to encrypt the content stored inside it.

First way will keep your file away from direct access through URL. Second will make it harder for hacker to crack what is written inside it.

Upvotes: 1

Related Questions