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

Author Message
singamalai

Guest


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.

Thx
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
Set browse/read rights to the folders only to their owners.
_________________
Martin Prikryl
zoop
[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:

<invalid hyperlink removed by admin>
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License