Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-15 20:11:20

vicco
Member
Registered: 2005-12-07
Posts: 21

How do I secure TXP folder

How do I secure my textpattern directory, any setting in particular. Mostly, I don’t want people to have access to my config.php file

Last edited by vicco (2006-03-15 23:59:03)

Offline

#2 2006-03-15 21:46:09

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: How do I secure TXP folder

Please explain what you mean. What access do people have, that you don’t want them to have?


Alex

Offline

#3 2006-03-16 01:18:20

vicco
Member
Registered: 2005-12-07
Posts: 21

Re: How do I secure TXP folder

Right, since config.php contains all my sql info, how do I stop someone from accessing that file

Offline

#4 2006-03-16 01:21:23

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: How do I secure TXP folder

“someone” who? A regular user with shell access to your server? Superuser on your server? Or a web user accessing it with their browser?

The contents of config.php aren’t accessible with a browser.


Alex

Offline

#5 2006-03-16 21:24:30

vicco
Member
Registered: 2005-12-07
Posts: 21

Re: How do I secure TXP folder

thanks, sorry about the paranoia, i didn’t know php wasn’t accesible

Offline

#6 2006-03-16 22:33:27

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: How do I secure TXP folder

You can test it for yourself: http://example.com/textpattern/config.php (replace with your domain, of course).


Alex

Offline

Board footer

Powered by FluxBB