---
title: "Jailing users"
date: "2015-03-01"
category: "ftp"
slug: "jailing-users"
---

A jailed user is restricted to a specific directory when connecting via [[accessing-ftp-server]]. All other directories on the server are inaccessible, providing isolation for multi-user environments.

## Jailing an Existing User

1. Log in to the [[logging-into-the-control-panel]]
2. Navigate to **User** > **Manage Users**
3. Click the **Edit** action for the target user
4. Under **General Service Configuration**, enable **FTP** and then **Advanced** > **Jail to home directory**
    - By default, the user is jailed to their [[home-directory-location]]. To specify a different directory, click **Browse** under **Custom Home Directory**
5. Click **Save Changes**

## Jailing a New User

1. Log in to the [[logging-into-the-control-panel]]
2. Navigate to **User** > **Add User**
3. Under **General Service Configuration**, enable **FTP** and then **Advanced** > **Jail to home directory**
    - By default, the user is jailed to their [[home-directory-location]]. To specify a different directory, click **Browse** under **Custom Home Directory**
4. Click **Add User**

![A user configured for jailing](kb-image:ftp-jailed-user.png)
*A user configured for jailing*

## See Also

- [[ftp-displays-login-directory-root]]
