topic hubAL Developmentofficial - Microsoftreviewed - checked by Opus

Security

Security best practices for Business Central development: the layered security model (authentication, authorization, encryption, auditing, change logging) and the use of Azure Key Vaults to store extension secrets. Answers questions about protecting installations and handling secrets in online and on-premises deployments.

Path: Development > Rules, guidelines, and best practices > Best practices > Security · tier official · system development · narrative reviewed (checked by Opus)

Overview

This section has two pages. The first describes the layered security model in Business Central. It covers how users sign in, how permissions are administered, how data is encrypted, and how auditing and change logging help monitor sensitive fields. It also touches on secure development practices and applies to both online and on-premises deployments.

The second page is about Azure Key Vaults. Extensions that call external services with authentication need a safe place for their secrets. A key vault gives centralized, secure storage, and extensions can read secrets from it. The page covers app key vault setup for online and on-premises deployments, secret retrieval, and telemetry for security monitoring.

Start with the layered security model page for the overall picture. Then read the Azure Key Vaults page when you build or maintain an extension that calls external web services and needs credentials.

Key points

  • Security is layered: authentication, authorization, data encryption, auditing, and change logging.
  • Authentication includes multifactor authentication for user sign-in.
  • User permissions are administered as part of the authorization layer.
  • The change log and audit trails support monitoring of sensitive fields.
  • Azure Key Vaults give extensions centralized, secure storage for secrets used in authenticated web service calls.
  • App key vault setup is described separately for online and on-premises deployments.
  • Extensions can retrieve secrets from the key vault in both online and on-premises deployments.
  • App key vault telemetry supports security monitoring.

Learn pages

Videos, posts and code changes

Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.

Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.

What Learn documents here 2 Learn pages