You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-sql/database/auditing-overview.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,8 +51,8 @@ You can use SQL Database auditing to:
51
51
- One of the primary changes involves a folder structure change for audit logs stored in storage account containers. Previously, server audit logs were written to separate folders; one for each database, with the database name serving as the folder name. With the new update, all server audit logs will be consolidated into a single folder labeled `master`. This behavior is the same as Azure SQL Managed Instance and SQL Server.
52
52
- Folder structure change for read-only replicas:
53
53
- Read-only database replicas previously had their logs stored in a read-only folder. Those logs will now be written into the `master` folder. You can retrieve these logs by filtering on the new column `is_secondary_replica_true`.
54
-
- Permissions required to view Audit logs:
55
-
-**Control Server** permission is required to view audit logs stored in the `master` folder
54
+
- Permissions required to view Audit logs:
55
+
-`CONTROL DATABASE` permission on the `master` database is required to view audit logs stored in the `master` folder
Copy file name to clipboardExpand all lines: docs/relational-databases/replication/security/replication-security-best-practices.md
+28-2Lines changed: 28 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,8 +59,34 @@ helpviewer_keywords:
59
59
60
60
- Ensure that a given agent (for example the Distribution Agent for a subscription) makes connections under the same account at each computer.
61
61
62
-
- In situations that require [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Authentication, access to UNC snapshot shares is often not available (for example access might be blocked by a firewall). In this case, you can transfer the snapshot to Subscribers through file transfer protocol (FTP). For more information, see [Transfer Snapshots Through FTP](../../../relational-databases/replication//publish/deliver-a-snapshot-through-ftp.md).
63
-
62
+
- In situations that require [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Authentication, access to UNC snapshot shares is often not available (for example access might be blocked by a firewall). In this case, you can transfer the snapshot to Subscribers through file transfer protocol (FTP). For more information, see [Transfer Snapshots Through FTP](../../../relational-databases/replication//publish/deliver-a-snapshot-through-ftp.md).
63
+
64
+
## Improve security posture with database master key
65
+
66
+
When using SQL Server authentication for replication, secrets that you provide when you configure replication are stored within SQL Server — specifically, in the distribution database and, for pull subscriptions, also in the subscriber database.
67
+
68
+
To enhance the security posture for replication, **before you *start* to configure replication**:
69
+
70
+
- Create a [database master key (DMK)](../../../t-sql/statements/create-master-key-transact-sql.md) in the distribution database of the server that hosts the Distributor.
71
+
- For *pull subscriptions*, also create a DMK in the subscriber database.
72
+
73
+
If replication was created before the DMK, first create the DMK, and then update replication secrets by updating passwords for replication jobs. You can update the job with the same password, or you can use a new password.
74
+
75
+
To update replication secrets, use one of the following relevant stored procedures to update passwords for replication jobs:
Configuring transactional replication without a DMK can result in SQL Server warning `14130` on:
84
+
85
+
- Azure SQL Managed Instance
86
+
- SQL Server 2022 [CU18](/troubleshoot/sql/releases/sqlserver-2022/cumulativeupdate18) and later
87
+
- SQL Server 2019 [CU31](/troubleshoot/sql/releases/sqlserver-2019/cumulativeupdate31) and later
88
+
89
+
64
90
## Related content
65
91
66
92
-[Enable Encrypted Connections to the Database Engine (SQL Server Configuration Manager)](../../../database-engine/configure-windows/configure-sql-server-encryption.md)
0 commit comments