Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mutiple FTP Users

Status
Not open for further replies.

Ovatvvon

Programmer
Joined
Feb 1, 2001
Messages
1,514
Location
US
I am trying to setup multiple ftp accounts for our domain. I want each user to be able to access a different folder seperate from the others. I know I could use a different port number or IP address to accomplish this, but I'm sure there has to be a way to seperate what each user has access to by their user name and password.

Can anyone tell me how to change this so user 1 can ftp to folder 1, and user 2 can ftp to folder 2?

Using Win NT 4.0 Server & IIS 4

Thanks in advance!
-Ovatvvon :-Q
 
Just set up main ftp folder thats global and include seperate folder for users with security permission set to their account only.
 
The way i did it was to setup a directory under the ftp's root for each user. If you name it the same as their login name they will automatically start in that directory. The you just need to setup permissions on each directory for that user only because they will be able to go back a directory. If you only give access to each directory to them and the admin then they will see the directories but won't be able to enter them.


Hope this helps

Kenny
 
This doesn't help. Perhaps I'll have to be a little more explicit.

The ftp'ing will not occur via users. The ftp'ing will occur by control of two unix machines. They will ftp through port 21 to the win nt 4 server and from there the IIS 4 should route it to the appropriate folder. One machine (radar) is giving us images from that which we want in one folder. Another machine is giving us satallite imagery which we want in the other folder. Since this is all automated, we cannot have it so they see the root folder and the folders within that with only access to one folder....we need IIS to auto route it to their specified folder automatically upon login by their designated user names.

Hope this is a little clearer. Hope there is a way to do it.

Thank you again!!
-Ovatvvon :-Q
 
What I said before should route them to their folder. When they log in they go directly to their folder. So long as the script doesn't execute a 'cd..' then it won't ever see the other directories.
 
I read the article and did what it and kjseever said to do. I created the default ftp folder and allowed the admin to access it. From that folder, I created two subfolders named the same as the user accounts. For example, we'll say they are jim and jen. made a c:\inetpub\ftproot\jim folder and a c:\inetpub\ftproot\jen folder...

however, while the admin can log in and access the ftproot folder and everything below it, jim and jen "cannot log in" and get "login failed".

know why?
-Ovatvvon :-Q
 
I'd check the permissions for the ftp and for the directories. The admin might be the only user setup to login into the ftp site. I had the same problem at first but after I got permissions setup everything went smooth.

Hope this helps,

Kenny

 
thought of that, gave everyone permissions...no one can get in but the admin.
-Ovatvvon :-Q
 
You might also make sure they have access to the root folder. If they don't then they won't be able to log in at all.
 
Tried that also, it still won't allow me to do this.
-Ovatvvon :-Q
 
Ovatvvon,

Are both of these users setup as local accounts on the ftp server? Do they both have rights to logon locally?
 
Yes, they are, and they do.

Here is the getter I just found out today...

Using WS-FTP, it works to have the sub-folders named the same as the users "user name". Using the DOS FTP which is what I've been using up until today, it won't allow access to anyone but the administrator who will be granted access to the root ftp folder.

Any reasons why it wouldn't work in DOS FTP and will in WS_FTP that anyone knows of?

-Ovatvvon :-Q
 
Not sure why one Dos FTP would not work. How about the client the UNIX boxes are using, do they work?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top