General discussion

Locked

How to block parent directory

By surveymaster.shivaram ·
We have FTP server. We have different clients. Clients uses FTP server to copy their files. Directory structure is as below
\
A (Sub directory under root for client A)
B (Sub directory under root for client B)
C (Sub directory under root for client C)
D (Sub directory under root for client D)
.
.

When client A login to FTP server he shouldn't see any directory otherthan directory A. I denied client A access to other directory. But my question here is client A should not able to list other directory names (Ex B, C, D ...). Is ther any logon writes we can deploy and how. Please send me the example script.
Thanks

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

How to block parent directory

by ShaunJanzen In reply to How to block parent direc ...

Any directories that you put in the root folder of the ftp server will be visible to anyone who logs in whether they have rights to that folder or not. If you place there folder outside of the ftproot folder and create a virtual directory that points to the client folder, then they will only see their folder when they log in. The path the client would type in to get to their folder would be like "ftp://ftp.domain.com/clientA", clientA being the name of the virtual directory.

Hope this helps.

Collapse -

How to block parent directory

Poster rated this answer

Collapse -

How to block parent directory

by frujim In reply to How to block parent direc ...

I can't find a document for this on MS's website but:
1. Point the root FTP site to an empty directory.
2. Create virtual directories for each of the user directories naming them ALIASusername(in your example they would be ALIASA, ALIASB, ALIASC...).

When a user logs into the FTP server their root directory will be the corresponding virtual directory.

This sounds like it will give you what you are trying to accomplish.

Collapse -

How to block parent directory

Poster rated this answer

Collapse -

How to block parent directory

This question was closed by the author

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums