wp-config.php & public_html

Status
Not open for further replies.

sak3d

New member
Sep 2, 2008
76
2
0
Hi all,

Quick newbie question;
I extracted my entire WP dir to my public_html map, including wp-config.php (containing my DB name & pass).

"Is this safe?"

The map is public so isnt my wp-config file public and therefore accessible by anyone?

Cheers :updown:.
 


yep - if the webserver is set up right, nobody should be able to read the contents of the php file. You might want to check the permissions are not "world writable" on it though (set to 755 in your ftp prog), once you've done the initial setup.

Whenever someone asks "is it safe", I always think of that fucked-up scene in "Marathon Man"

YouTube - Is it safe?
 
5pe6j5.jpg
 
Status
Not open for further replies.