Koozali.org: home of the SME Server

Why can all my users see my primary/html map?

KC

Why can all my users see my primary/html map?
« on: May 23, 2003, 02:30:02 AM »
I 've got a problem. All my users can see the files in my primary/html map. The only have to login on my server through FTP en go to the map. This is a problem because my MySQL passwords are written in my PHP files. Is there a solution for this??

KC

ps.
please forgive my language, I'm dutch :)

Guck Puppy

Re: Why can all my users see my primary/html map?
« Reply #1 on: May 23, 2003, 04:54:19 AM »
Change the ownership and permissions on the files with the mysql passwords in them?

G

Upaboveit

Re: Why can all my users see my primary/html map?
« Reply #2 on: May 24, 2003, 05:12:16 AM »
Try here for instructions:

http://www.dungog.net/sme/howto/chroot.php

...and here for the rpm:

http://www.dungog.net/sme/files/dungog-proftpd-chroot-0.1-2.noarch.rpm

Adds a control panel entry so you can restrict their ftp access.

KC

Re: Why can all my users see my primary/html map?
« Reply #3 on: May 24, 2003, 07:11:26 AM »
Thanks for all your help.

I think I will try the chown option because in also prevents the users on my local network to see the files in the primary/HTML map by using samba

KC