content/manuals/enterprise/security/enforce-sign-in/_index.md
{{< summary-bar feature_name="Enforce sign-in" >}}
By default, users can access Docker Desktop without signing in to your organization. When users don't sign in as organization members, they miss out on subscription benefits and can bypass security features configured for your organization.
You can enforce sign-in using several methods, depending on your setup:
.plist method (Mac only)registry.json method (All)This page provides an overview of how sign-in enforcement works.
When Docker Desktop detects a registry key, .plist file, or
registry.json file:
Sign in required! prompt appears, requiring users to sign
in as organization members to use Docker Desktop.Sign in required! prompt reappears and they can
no longer use Docker Desktop unless they sign back in.[!NOTE]
Enforcing sign-in for Docker Desktop doesn't affect Docker CLI access. CLI access is only restricted for organizations that enforce single sign-on (SSO).
Enforcing Docker Desktop sign-in and enforcing SSO are different features that serve different purposes:
| Enforcement | Description | Benefits |
|---|---|---|
| Enforce sign-in only | Users must sign in before using Docker Desktop | Ensures users receive the benefits of your subscription and ensures security features are applied. In addition, you gain insights into users’ activity. |
| Enforce single sign-on (SSO) only | If users sign in, they must sign in using SSO | Centralizes authentication and enforces unified policies set by the identity provider. |
| Enforce both | Users must sign in using SSO before using Docker Desktop | Ensures users receive the benefits of your subscription and ensures security features are applied. In addition, you gain insights into users’ activity. It also centralizes authentication and enforces unified policies set by the identity provider. |
| Enforce neither | If users sign in, they can use SSO or their Docker credentials | Lets users access Docker Desktop without barriers, at the cost of reduced security and insights. |