Often we need to provide secure but restricted sftp access to our clients to upload or download large files.
Regular sftp accounts allow the users to view login names of other users/clients and in many default installations even allow them to browse through the directories and files. In addition, they can also view your system files and any unprotected files and directories including much of your system settings under etc.
Here we show how you can provide secure but isolated (restricted) sftp access for file transfer.
Refer to the blog article for details: Secure Isolated (Restricted) SFTP Access for file transfer