Hide some FTP folders but still have them available
Any folder under the FTP site’s root folder is visible to remote users who connect to the site. While you can prevent access to folders or files by applying NTFS object permissions to them, there might be occasions when you want to hide the folders altogether. For example, you might want to ensure privacy for one or more remote users’ folders or simply to hide certain content from the general public.
Whatever the reason, it’s easy to hide an FTP folder. Just create a virtual directory. The directory functions as a part of the FTP folder structure, behaving like it exists as a child of the root FTP folder. However, the physical directory pointed to by the virtual directory alias can be on a different volume or even on a different computer across the network. Users who know the directory exists can change to that directory using the cd command in an FTP console session or include the folder in the URL when connecting via a browser. The virtual directory can still be protected by NTFS permissions for additional security if it resides on an NTFS volume.
Set up a virtual FTP directory
You set up a virtual FTP directory in much the same way as a virtual web directory:
Open the IIS console, right-click the FTP site under which you want to create the virtual directory, and choose New → Virtual Directory.
In the Virtual Directory Creation Wizard, specify the following information:
- Alias
This is the name by which remote users will see the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access