Topic "How to prevent users from browsing the root and other Folders"

Author Message


We have a Linux Server acting as SCP Server for copying files. Out clients x1,x2,x3 use winscp for uploading/downloading files. However when a user x1 is logged on he is able to see all other Folders and sometimes also able to browse. However when he tries to go into x2 then he will get an error. My problem now is can i make sure that the user x1 when logs on wont be able to see any other directory other than his home folder??

If so can some one please guide me. This is very urgent and critical.

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
Set browse/read rights to the folders only to their owners.
Martin Prikryl
[View user's profile]

Joined: 2004-04-13
Posts: 1
Location: Los Angeles
You might try a chroot shell approach.

I used this, which can limit the users to SCP/SFTP only, in a chroot'ed environment:

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License