Groups | Blog | Home
all groups > iis ftp > december 2006 >

iis ftp : Folders seen by only one customer



xiaohang888 NO[at]SPAM gmail.com
12/14/2006 1:44:13 PM
Hi,
My company has a FTP server. We hav 40 customers using the server
to transfer files. Each customer has their own folder. So I have folder
Company1 to Company40 under the same FTP root.
When Customer 1 log on to our server, I want only folder Company1 seen
to him. Folder Company2 to Company40 are invisible to Customer 1. I've
tried to use NTFS 'list' permissions but so far no luck. If anybody
have done this before, can you tell me how to do it?

Thanks!

Jerry
Bernard Cheah [MVP]
12/18/2006 12:00:00 AM
Copied from previous replied.
---
If you are using IIS 6, then try the user isolation feature.
How To Set Up Isolated Ftp Site
http://support.microsoft.com/?id=555018

for IIS 5, try this
How To Set Up an FTP Site So That Users Log Onto Their Folders
http://support.microsoft.com/?id=201771

bottom line, you can control access via proper restriction of ntfs
permissions.
------

if you are using IIS5/4, this is expected, what you can do is configure the
ftproot to some dummy folder, then configure virtual directory 'companyXX'
and point it to a correct company data folder.

by default virtual directory is hidden from directory listing.
even user able to do 'cd ..' and navigate to the root path, the user can't
see any folder via dir listing.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

xiaohang888 NO[at]SPAM gmail.com
12/18/2006 1:47:16 PM
Thanks, Bernard.

My company is using IIS5 on Window2000 server.
I created a virtual directory 'ABC' for Company1 and make it point to
C:\Ftpsite\Company1. The name of this virtual directory 'ABC' matchs
exactly to the local user account name for Company1 (Does the virtual
directory's name has to match local user account's name in order to
work?). I log on to my FTP server, it lists only the content of folder
Company1. That's exactly what I want. But I can still navigate back to
the root and list the folders Company1 to Company40 even thought this
user can only open Company1 folder. I do not want the user see other
customer's folders when he navigate back to the root. What should I do
to disable it?

Thanks a lot

Jerry


[quoted text, click to view]
Bernard Cheah [MVP]
12/21/2006 12:00:00 AM
a) where's your ftproot point to ? it should not be c:\ftpsite, point it to
somewhere else
b) yes, the virtual dir name need to be same as the account name, with this
it will auto redirect.
c) with the above. even user able to cd .. and navigate back to the root,
because all are virtual directories, he/she will not see anything in dir
listing.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

AddThis Social Bookmark Button