Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 01:33 am EST
Geeklog Forums
Chmod config.php
Status: offline
ironfeather
Forum User
Junior
Registered: 01/27/03
Posts: 16
HI,
I was wondering what i should chmod my config.php?
worried about other people on my server snooping and seeing my mysql access
Cheers
Stevyn
------
my geeklog discussion is at:
http://ironfeather.com/cgi-bin/bbs/ik...ct=SF;f=20
I was wondering what i should chmod my config.php?
worried about other people on my server snooping and seeing my mysql access
Cheers
Stevyn
------
my geeklog discussion is at:
http://ironfeather.com/cgi-bin/bbs/ik...ct=SF;f=20
13
12
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
according the best suggestions laid out in the install instructions, the directory containing your config.php should not be world readable--meaning it shouldn't be in your public_html dir at all or in any sub-dir therein.
However, not all of us have the pleasure of having access to any dir above our public_html dir... sooooo, the 2nd best option would be to protect that dir using an .htaccess file or something like it provided by your hosting company.
However, not all of us have the pleasure of having access to any dir above our public_html dir... sooooo, the 2nd best option would be to protect that dir using an .htaccess file or something like it provided by your hosting company.
13
12
Quote
Status: offline
ironfeather
Forum User
Junior
Registered: 01/27/03
Posts: 16
Hi, thanks for your reply.
Yep, I have it in a directory that is below the public view so its not viewable from the web. But I am on a server that hosts many others so I think they are telneted into theior own account and then looking about in other peoples directories on the server.
I think geeklog only reads the config.php and doesnt write to it, so i should be able to chmod it really low i think. if none knows off hand i'll try it real low and see what happens
cheers
------
my geeklog discussion is at:
http://ironfeather.com/cgi-bin/bbs/ik...ct=SF;f=20
Yep, I have it in a directory that is below the public view so its not viewable from the web. But I am on a server that hosts many others so I think they are telneted into theior own account and then looking about in other peoples directories on the server.
I think geeklog only reads the config.php and doesnt write to it, so i should be able to chmod it really low i think. if none knows off hand i'll try it real low and see what happens
cheers
------
my geeklog discussion is at:
http://ironfeather.com/cgi-bin/bbs/ik...ct=SF;f=20
17
14
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
that setup sounds kinda shady if access is granted so loosely.
anyway, 644 should do you.
anyway, 644 should do you.
15
15
Quote
Status: offline
ironfeather
Forum User
Junior
Registered: 01/27/03
Posts: 16
yep, looks like 644 is the lowest it can go, i wonder why it cant be 600? why would others need to read it? I tried and it needs 644.
I have been with this server host for years but I am worried now after this hacking action. Maybe change soon.
------
my geeklog discussion is at:
http://ironfeather.com/cgi-bin/bbs/ik...ct=SF;f=20
I have been with this server host for years but I am worried now after this hacking action. Maybe change soon.
------
my geeklog discussion is at:
http://ironfeather.com/cgi-bin/bbs/ik...ct=SF;f=20
11
13
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Actually, when your root directory is not readable by others, there shouldn't be a problem with world-readable files below it. I would expect this to be the standard setup for shared hosting.
If, however, you can actually read files in other people's directories, then I would switch ISPs ASAP ...
bye, Dirk
If, however, you can actually read files in other people's directories, then I would switch ISPs ASAP ...
bye, Dirk
11
10
Quote
All times are EST. The time is now 01:33 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content