Solved

ftp setup

Posted on 2002-04-19
10
184 Views
Last Modified: 2010-04-13
I having trouble with ftp setup when setting it up when requiring user name and password.  What is required to set it up properly.  It seems I got it to work one time, but now I'm not able to do it.  What is required.  I'm trying to set up user 1 to access one folder1 and user 2 to access folder 2 under the ftp directory.

Thanks,
Joseph
0
Comment
Question by:sjs
  • 4
  • 4
  • 2
10 Comments
 
LVL 3

Expert Comment

by:Zak_McKracken
ID: 6956323
IIRC, this was discussed a while back, and I think the outcome was that you can't have completely different "sites" for users - you can limit a user to one directory, and another user to a different directory again, but each user will be able to see the other's folder - eg:

ftproot\
ftproot\user1s_folder
ftproot\user2s_folder

Does this help or are you after something else?
0
 

Author Comment

by:sjs
ID: 6957084


Thanks for your reply.  At this point I can only setup Anonymous login, I am looking to setup specific domain users for access.  What permissions does a user have to have?

Thanks,

Joseph
0
 
LVL 3

Expert Comment

by:Zak_McKracken
ID: 6957505
I haven't done this, but if a user has access to the share via windows file permissions, all they need is a valid domain account.  If the server is not a domain controller, you are able to setup local accounts for the FTP server.

Do some testing and see what you are able to come up with.  I do know that there isn't any ability to configure what you're looking at within the MMC snap-in, so if this is possible, its got to be done at a windows file security level.
0
 
LVL 2

Expert Comment

by:pssiew
ID: 6959064
The domain user must have logon locally user rights to be able to log on to the ftp site.

durin logon you need to use domain\username or username@domain.com to login.

You can have user1 login to folder1 and user2 to folder2 if the follwing is satisfied.
The loginname is the same as the ftp virtual foldername.

Hope this helped.
0
 

Author Comment

by:sjs
ID: 6964492
Thanks for your reply, but I was looking for better understanding of the virtual directory and permissions.  I'm not clear on how to set up different folders with it's own permissions. Can you clarify?

Thanks,
Joseph
0
[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

 
LVL 2

Expert Comment

by:pssiew
ID: 6964507
FTP must have its own IP to run and unless you have more than one IP on the machine you can have only one FTP site.

The FTP site will point to a ftp root folder. any folders within the root folder can be FTPed to if the right permissions are granted.

If you have another folder that is not within the the root folder or you want a quicker path to the folder, you use the virtual directory to create it (something like a shortcut).

Folder permissions are the NTFS permissions which you can explicitly grant specifc permissions. If on the FTP level you grant write and on NTFS level you deny it. The person will not be able to ftp the file to the server, vice versa for read.

If you need more details you need to read it from net or books.
0
 

Author Comment

by:sjs
ID: 6964523
Thanks for your reply.  I'm familer with NTFS and logon locally and so on.  I wasn't clear on how virtual directory work.  I checked MSKB, I was unable to find any info explaining virtual directory.  I guess I'll just mess with it for while.  Basically I was wanting to create subfolders like \ftp\dir1 and \ftp\dir2, while granting user1 access to user1 to dir1 and user2 to dir2 without either one accessing or listing the other's.

Thanks,

Joseph
0
 
LVL 2

Accepted Solution

by:
pssiew earned 50 total points
ID: 6964537
A simple explanation of FTP virtual directories would be to take them as shortcuts. You create a virtual directory to have a shortcut to folder.

For instance you need to go to root\abc\xyz\efg via ftp you need to change directories 3 times, having a virtual directory would enable to you go there by just root\efg

If you want to prevent users from accessing each others folder,

Create the virtual folders with the exact same name as the user login. When the user logs in he will go directly to his folder. You then use NTFS to grant permissions which only allow the user access to his own folder and not the other.
0
 

Author Comment

by:sjs
ID: 6967409
thank you pssiew.  That should do it.
0
 
LVL 2

Expert Comment

by:pssiew
ID: 6970282
no problems sis.
Hoped it all worked out for you
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
We need a new way to communicate time sensitive or critical info.   The best part of my role at xMatters is visiting our clients all over the world to learn about how they operate their businesses, share insights that xMatters has gleaned across…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now