Shared Cloud Connection
Overview
SFTP Gateway v3.x has a folder management feature that makes it easier to share files between SFTP users.
This article walks you through configuring a common scenario that we call the "shared Cloud Connection".
Shared Cloud Connection
Let's say you have multiple SFTP users who want to have a shared Cloud Connection to drop in files and folders that are shared with others within their organization.
This sharing scenario can be implemented using SFTP Gateway's folder management feature.
Configuration for shared Cloud Connection
To configure the shared Cloud Connection, just create each SFTP user with default values.
By default, SFTP users are chrooted in the following path on the default cloud connection:
/users/username/
After creating a few accounts, you should see the folder structure:
/
|--users/
|--user1/
|--user2/
|--user3/
Each SFTP user is chrooted in their respective folder,
and cannot traverse to the parent users
directory.
To create a shared Cloud Connection first create a folder under that individual users folder which should look like this folder structure. The name's don't have to be unique but they do have to point to the same cloud connection. This can be done upon creation or the folder can be edited to point to the shared cloud connection.
/
|--users/
|--user1/
|--Shared-Cloud-Connection --> points to a shared cloud connection
|--user2/
|--Shared-Cloud-Connection --> points to a shared cloud connection
|--user3/
|--Shared-Cloud-Connection --> points to a shared cloud connection
Each folder should point to the same cloud connection and the folder under that user will point to the shared cloud connection, where each user will be able to access, and send files to that cloud connection.
However, users will only be able to see the files/folders located in that shared cloud connection, they will not be able to access files from the others users root directory.