# Security features

SonarQube Server comes with a number of global security features:

* On-board authentication and authorization mechanisms.
* The ability to force users to authenticate before they can see any part of a SonarQube Server instance.
* The ability to delegate to authentication.
* Enforce an Azure OpenAI Service endpoint URL domain when [Enable AI CodeFix](/sonarqube-server/2026.2/instance-administration/ai-features/enable-ai-codefix.md#enabling-ai-generated-fix-suggestions).

Additionally, it’s possible to configure at a group or user level who can:

* See that a project even exists.
* Access a project’s source code.
* Administer a project (set exclusion patterns, tune plugin configuration for that project, etc.).
* Administer Quality Profiles, Quality Gates, and the SonarQube Server instance itself.

Another aspect of security is the encryption of settings such as passwords. SonarQube Server provides a built-in mechanism to encrypt settings.

See:

* [User accounts](/sonarqube-server/2026.2/instance-administration/security/user-accounts.md)
* [Managing groups](/sonarqube-server/2026.2/instance-administration/user-management/user-groups.md)
* [Managing permissions](/sonarqube-server/2026.2/instance-administration/user-management/user-permissions.md)
* [Setting project permissions](/sonarqube-server/2026.2/project-administration/setting-project-permissions.md)
* [Sensitive settings](/sonarqube-server/2026.2/instance-administration/security/encrypting-settings.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-server/2026.2/instance-administration/system-functions/security.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
