Forum Moderators: phranque

Message Too Old, No Replies

Controlling FTP users with .htaccess

Is this the right tool?

         

webworker us

2:15 am on Jun 9, 2006 (gmt 0)

10+ Year Member



Hey All,

My problem is as follows:

I have a large amount of webspace purchased from our local webhost, and I desired to set it up with three separate accounts.

Account 1: Generic Sharing User
- This account would be used by our office staff to share files with vendors that wouldn't fit in an email.

Account 2: Backup User
- This account would be to hold a backup copy of our databases as an off-site backup.

Account 3: Website update User
- This account would update the website we host.

I talked to our webhost's tech support today and they created all of the above 'users'. However, each of these users can view the entire webspace, where as I wanted them to each be restricted to their chunk.

The tech support guy told me to use .htaccess files in each of the user's folders to set this up, but from what I've been reading, that isn't correct at all.

Can someone please enlighten me and perhaps point to a solution for this?

Thanks,

Casey

jdMorgan

2:21 am on Jun 9, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No, you're right; .htaccess files (as implied by their name) can control HTTP access, but have no effect on FTP which, in fact, uses an entirely different protocol and a whole separate server (program).

Ask for 'level two' support, I guess... :)

Jim

webworker us

12:07 pm on Jun 9, 2006 (gmt 0)

10+ Year Member



Ok. I thought so, but wanted to double check with someone more familiar with .htaccess to be sure I wasn't missing something.

Time to start again at one level up.

Casey

webworker us

12:16 pm on Jun 9, 2006 (gmt 0)

10+ Year Member



Just got off the phone again with tech support (this time told him no to the .htaccess file and explained what you told me) and his basic response was that "well we can't do what you want"

Oh well,

Casey