IIS FTP Server - Folders seen by only one customer

This is Interesting: Free IT Magazines  
Home > Archive > IIS FTP Server > December 2006 > Folders seen by only one customer





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Folders seen by only one customer
xiaohang888@gmail.com

2006-12-14, 7:28 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]

2006-12-18, 1:36 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/


<xiaohang888@gmail.com> wrote in message
news:1166132653.183223.284390@73g2000cwn.googlegroups.com...
> 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
>



xiaohang888@gmail.com

2006-12-18, 7:21 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


Bernard Cheah [MVP] wrote:[vbcol=seagreen]
> 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/
>
>
> <xiaohang888@gmail.com> wrote in message
> news:1166132653.183223.284390@73g2000cwn.googlegroups.com...

Bernard Cheah [MVP]

2006-12-21, 1:29 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/


<xiaohang888@gmail.com> wrote in message
news:1166478436.790500.284690@t46g2000cwa.googlegroups.com...
> 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
>
>
> Bernard Cheah [MVP] wrote:
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com