> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Private Deployments

> Learn how to control who can access your published app without writing any code.

Private published apps add authentication to your Replit Apps without requiring any
code changes. When enabled, Replit restricts access to your app using a Replit login screen.
Only signed-in users that you've granted access to can use the site.

<Note>
  Private Deployments are available on the Pro and Enterprise plans.
</Note>

Restricted app access is useful for project types including the following:

* Internal tools
* Apps in the beta testing phase
* Apps that access sensitive information

<Frame caption="Login page for Private Deployments">
  <img src="https://mintcdn.com/replit/jSmYU1wBTvl8UMyc/images/deployments/private-deployments/private-deployment-login.jpg?fit=max&auto=format&n=jSmYU1wBTvl8UMyc&q=85&s=ecad9adfb9c2409ff7001aad4690870b" alt="screenshot of a Private Deployment login page" width="1920" height="1080" data-path="images/deployments/private-deployments/private-deployment-login.jpg" />
</Frame>

## Access options

When you publish an app on the Pro plan, you can control who has access to it. You'll see three privacy options:

* **Public**: Your app is accessible to anyone on the internet who has the URL. This is the default access option on Pro and Enterprise plans.
* **Workspace only**: Your app is restricted to members of your workspace. All admins, members, and viewers in the workspace automatically get access when you publish. This is most useful in collaborative workspaces where you want to share an app with your team without making it public.
* **Only you**: Your app is fully private. Only you can access it, along with workspace admins and anyone you explicitly invite (individual users or groups). This is the most restrictive option.

A few things to keep in mind:

* Both **Workspace only** and **Only you** are private deployments — visitors without access are prompted to sign in through Replit before they can view the app.
* In a personal workspace where you're the only member, **Workspace only** and **Only you** behave the same way since there are no other workspace members. The distinction becomes meaningful when you're working in a shared workspace with collaborators.
* If you need password-protected deployments (where anyone with a password can access the app regardless of whether they have a Replit account), that capability is available on the Enterprise plan.

## Features

Private published apps provide the following features:

* **Access Management**: Grant or restrict app access to individual users or groups within your workspace.
* **Zero Code Configuration**: Seamless authentication for your app with no code changes required.

## Usage

When publishing your Replit App, you can choose a privacy option from the **Public**, **Workspace only**, or **Only you** dropdown.
The following sections describe how to set up and manage your published app's access.

<Info>
  Scheduled Jobs omit this option because they do not listen for incoming
  traffic.
</Info>

<Accordion title="Publish an app with restricted access">
  1. Select the user menu at the top left of the Home screen to view your workspaces.
  2. Verify or select the workspace in which to publish your Replit App.
  3. Open the Replit App you want to publish.
  4. In the publishing options, select **Public**, **Workspace only**, or **Only you** from the access dropdown.
  5. Select **Publish** to confirm the publishing.
</Accordion>

<Accordion title="View your published apps">
  1. Select the user menu at the top left of the Home screen to view your workspaces.
  2. Verify or select the workspace in which you published your Replit App.
  3. From the Home screen, select <img class="svg-icon" src="https://mintcdn.com/replit/rJldsgYVucXB_6kW/images/icons/deploy-icon.svg?fit=max&auto=format&n=rJldsgYVucXB_6kW&q=85&s=853c5ef39a8a7ac3648b3a2ce182fcb8" alt="Published apps icon" width="16" height="16" data-path="images/icons/deploy-icon.svg" /> **Published apps** from the left dock.
     You should see a list of the workspace's published apps similar to the screenshot below:

       <img src="https://mintcdn.com/replit/jSmYU1wBTvl8UMyc/images/deployments/private-deployments/private-deployments-list.png?fit=max&auto=format&n=jSmYU1wBTvl8UMyc&q=85&s=6d281dc091dcab5857da49257bacbc05" alt="List of Private Deployments" width="2782" height="526" data-path="images/deployments/private-deployments/private-deployments-list.png" />
</Accordion>

<Accordion title="Edit existing published app access">
  1. Select the published app and open the Publishing tool.
  2. In the Publishing tab, select **Edit commands and secrets**, then choose the access option you want (**Public**, **Workspace only**, or **Only you**).
  3. Select **Publish** to confirm the publishing.
</Accordion>

## Next steps

To learn more about Private published apps, see the following resources:

* [Replit App Access Management](/teams/identity-and-access-management/repl-access-management): Manage access to your Private published app
* [Billing for Teams](/billing/teams-billing/overview): View pricing for Replit Pro and Enterprise
