Skip to content

Commit 09122d0

Browse files
authored
Merge pull request #19053 from MicrosoftDocs/master
4/07 PM Publish
2 parents d8cbbef + bbe0128 commit 09122d0

8 files changed

+90
-56
lines changed
Lines changed: 50 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
---
2-
title: "Common Criteria Compliance Enabled Configuration | Microsoft Docs"
3-
description: Learn which criteria the common criteria compliance option enables in SQL Server, and see how to comply with Common Criteria Evaluation Assurance Level 4+.
4-
ms.custom: ""
5-
ms.date: "08/21/2018"
2+
title: Common Criteria Compliance Enabled Configuration
3+
description: Learn which criteria the common criteria compliance option enables in SQL Server. See how to comply with Common Criteria Evaluation Assurance Level. For EUCC certification approval. A world-wide compliance obligation across regulated industries and authorities.
64
ms.prod: sql
75
ms.prod_service: high-availability
8-
ms.reviewer: ""
96
ms.technology: configuration
107
ms.topic: conceptual
118
f1_keywords:
@@ -15,47 +12,53 @@ helpviewer_keywords:
1512
- "common criteria compliance [Database Engine]"
1613
- "Risidual Information Protection [Database Engine]"
1714
- "RIP (Residual Information Protection)"
18-
ms.assetid: 61766eea-c450-408d-af33-fbe7ef8c9ff2
19-
author: rothja
20-
ms.author: jroth
15+
author: markingmyname
16+
ms.author: maghan
17+
ms.reviewer: wopeter
18+
ms.custom: ""
19+
ms.date: 04/07/2021
2120
---
21+
2222
# Common Criteria Compliance Enabled Server Configuration
23-
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
24-
25-
The common criteria compliance option enables the following elements that are required for the [Common Criteria for Information Technology Security Evaluation](https://www.commoncriteriaportal.org/).
26-
27-
|Criteria|Description|
28-
|--------------|-----------------|
29-
|Residual Information Protection (RIP)|RIP requires a memory allocation to be overwritten with a known pattern of bits before memory is reallocated to a new resource. Meeting the RIP standard can contribute to improved security; however, overwriting the memory allocation can slow performance. After the common criteria compliance enabled option is enabled, the overwriting occurs.|
30-
|The ability to view login statistics|After the common criteria compliance enabled option is enabled, login auditing is enabled. Each time a user successfully logs in to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], information about the last successful login time, the last unsuccessful login time, and the number of attempts between the last successful and current login times is made available on a per-session basis. These login statistics can be viewed by querying the [sys.dm_exec_sessions](../../relational-databases/system-dynamic-management-views/sys-dm-exec-sessions-transact-sql.md) dynamic management view.|
31-
|That column `GRANT` should not override table `DENY`|After the common criteria compliance enabled option is enabled, a table-level `DENY` takes precedence over a column-level `GRANT`. When the option is not enabled, a column-level `GRANT` takes precedence over a table-level `DENY`.|
32-
33-
The common criteria compliance enabled option is an advanced option. Common criteria is only evaluated and certified for the Enterprise edition and Datacenter edition. For the latest status of common criteria certification, see the [Microsoft SQL Server Common Criteria](https://go.microsoft.com/fwlink/?LinkId=616319) Web site.
34-
35-
> [!IMPORTANT]
36-
> In addition to enabling the common criteria compliance enabled option, you also must download and run a script that finishes configuring [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to comply with Common Criteria Evaluation Assurance Level 4+ (EAL4+). You can download this script from the [Microsoft SQL Server Common Criteria](https://go.microsoft.com/fwlink/?LinkId=616319) Web site.
37-
38-
If you are using the `sp_configure` system stored procedure to change the setting, you can change common criteria compliance enabled only when show advanced options is set to 1. The setting takes effect after the server is restarted. The possible values are 0 and 1:
39-
40-
- 0 indicates that common criteria compliance is not enabled. This is the default.
41-
42-
- 1 indicates that common criteria compliance is enabled.
43-
44-
## Examples
45-
The following example enables common criteria compliance.
46-
47-
```
48-
sp_configure 'show advanced options', 1;
49-
GO
50-
RECONFIGURE;
51-
GO
52-
sp_configure 'common criteria compliance enabled', 1;
53-
GO
54-
RECONFIGURE WITH OVERRIDE;
55-
GO
56-
```
57-
58-
Restart [!INCLUDE[ssNoVersion_md](../../includes/ssnoversion-md.md)].
59-
60-
## See Also
61-
[Server Configuration Options (SQL Server)](../../database-engine/configure-windows/server-configuration-options-sql-server.md)
23+
24+
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
25+
26+
The common criteria compliance option enables the following elements that are required for the [Common Criteria for Information Technology Security Evaluation](https://www.commoncriteriaportal.org). A requirement for a world-wide compliance obligation across regulated industries and authorities.
27+
28+
| Criteria | Description |
29+
|----------|-------------|
30+
| Residual Information Protection (RIP) | RIP requires a memory allocation to be overwritten with a known pattern of bits before memory is reallocated to a new resource. Meeting the RIP standard can contribute to improved security; however, overwriting the memory allocation can slow performance. After the common criteria compliance enabled option is enabled, the overwriting occurs. |
31+
|The ability to view login statistics | Login auditing is enabled after the common criteria compliance option is enabled. </br></br></br> Login times that are made available on a per-session basis each time a user successfully logs in to SQL Server: </br> - Information about the last successful login time </br> - The last unsuccessful login time </br> - The number of attempts between the last successful login and the current login. </br></br></br> These login statistics can be viewed by querying the [sys.dm_exec_sessions](../../relational-databases/system-dynamic-management-views/sys-dm-exec-sessions-transact-sql.md) dynamic management view. |
32+
|That column `GRANT` shouldn't override table `DENY` | After the common criteria compliance enabled option is enabled, a table-level `DENY` takes precedence over a column-level `GRANT`. When the option isn't enabled, a column-level `GRANT` takes precedence over a table-level `DENY`. |
33+
34+
The common criteria compliance enabled option is an advanced option. Common criteria is only evaluated and certified for the Enterprise edition and Datacenter edition. For the latest status of common criteria certification, see the [Microsoft SQL Server Common Criteria](https://go.microsoft.com/fwlink/?LinkId=616319) site.
35+
36+
> [!IMPORTANT]
37+
> In addition to enabling the common criteria compliance enabled option, you also must download and run a script that finishes configuring SQL Server to comply with Common Criteria Evaluation Assurance Level 4+ (EAL4+). You can download this script from the [Microsoft SQL Server Common Criteria](https://go.microsoft.com/fwlink/?LinkId=616319) site.
38+
39+
If you're using the `sp_configure` system stored procedure to change the setting, you can change common criteria compliance enabled only when show advanced options is set to 1. The setting takes effect after the server is restarted. The possible values are 0 and 1:
40+
41+
- 0 indicates that common criteria compliance isn't enabled (default).
42+
43+
- 1 indicates that common criteria compliance is enabled.
44+
45+
## Examples
46+
47+
The following example enables common criteria compliance.
48+
49+
```sql
50+
sp_configure 'show advanced options', 1;
51+
GO
52+
RECONFIGURE;
53+
GO
54+
sp_configure 'common criteria compliance enabled', 1;
55+
GO
56+
RECONFIGURE WITH OVERRIDE;
57+
GO
58+
```
59+
60+
Restart SQL Server.
61+
62+
## Next steps
63+
64+
- [Server Configuration Options &#40;SQL Server&#41;](../../database-engine/configure-windows/server-configuration-options-sql-server.md)

docs/linux/sql-server-linux-release-notes-2019.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ For manual or offline package installations, you can download the RPM and Debian
7474
|-----|-----|-----|
7575
| Red Hat RPM package | 15.0.4123.1-5 | [Engine RPM package](https://packages.microsoft.com/rhel/8/mssql-server-2019/mssql-server-15.0.4123.1-5.x86_64.rpm)</br>[High Availability RPM package](https://packages.microsoft.com/rhel/8/mssql-server-2019/mssql-server-ha-15.0.4123.1-5.x86_64.rpm)</br>[Full-text Search RPM package](https://packages.microsoft.com/rhel/8/mssql-server-2019/mssql-server-fts-15.0.4123.1-5.x86_64.rpm)</br>[Extensibility RPM package](https://packages.microsoft.com/rhel/8/mssql-server-2019/mssql-server-extensibility-15.0.4123.1-5.x86_64.rpm)</br>[Java Extensibility RPM package](https://packages.microsoft.com/rhel/8/mssql-server-2019/mssql-server-extensibility-java-15.0.4123.1-5.x86_64.rpm)</br>[PolyBase RPM package](https://packages.microsoft.com/rhel/8/mssql-server-2019/mssql-server-polybase-15.0.4123.1-5.x86_64.rpm)|
7676
| SLES RPM package | 15.0.4123.1-5 | [mssql-server Engine RPM package](https://packages.microsoft.com/sles/12/mssql-server-2019/mssql-server-15.0.4123.1-5.x86_64.rpm)</br>[High Availability RPM package](https://packages.microsoft.com/sles/12/mssql-server-2019/mssql-server-ha-15.0.4123.1-5.x86_64.rpm)</br>[Full-text Search RPM package](https://packages.microsoft.com/sles/12/mssql-server-2019/mssql-server-fts-15.0.4123.1-5.x86_64.rpm)</br>[Extensibility RPM package](https://packages.microsoft.com/sles/12/mssql-server-2019/mssql-server-extensibility-15.0.4123.1-5.x86_64.rpm)</br>[Java Extensibility RPM package](https://packages.microsoft.com/sles/12/mssql-server-2019/mssql-server-extensibility-java-15.0.4123.1-5.x86_64.rpm)</br>[PolyBase RPM package](https://packages.microsoft.com/sles/12/mssql-server-2019/mssql-server-polybase-15.0.4123.1-5.x86_64.rpm)|
77-
| Ubuntu 18.04 Debian package | 15.0.4123.1-5 | [Engine Debian package](https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server/mssql-server_15.0.4123.1-5_amd64.deb)</br>[High Availability Debian package](https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server-ha/mssql-server-ha_15.0.4123.1-5_amd64.deb)</br>[Full-text Search Debian package](https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server-fts/mssql-server-fts_15.0.4123.1-5_amd64.deb)</br>[Extensibility Debian package](https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server-extensibility/mssql-server-extensibility_15.0.4123.1-5_amd64.deb)</br>[Java Extensibility Debian package](https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server-extensibility-java/mssql-server-extensibility-java_15.0.4123.1-5_amd64.deb)</br>[PolyBase RPM package](https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server-polybase/mssql-server-polybase_15.0.4123.1-5_amd64.deb)|
77+
| Ubuntu 20.04 Debian package | 15.0.4123.1-5 | [Engine Debian package](https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server/mssql-server_15.0.4123.1-5_amd64.deb)</br>[High Availability Debian package](https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server-ha/mssql-server-ha_15.0.4123.1-5_amd64.deb)</br>[Full-text Search Debian package](https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server-fts/mssql-server-fts_15.0.4123.1-5_amd64.deb)</br>[Extensibility Debian package](https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server-extensibility/mssql-server-extensibility_15.0.4123.1-5_amd64.deb)</br>[Java Extensibility Debian package](https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server-extensibility-java/mssql-server-extensibility-java_15.0.4123.1-5_amd64.deb)</br>[PolyBase RPM package](https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server-polybase/mssql-server-polybase_15.0.4123.1-5_amd64.deb)|
7878

7979
## <a id="cu9"></a> CU9 (February 2021)
8080

docs/machine-learning/deploy/modify-r-python-code-to-run-in-sql-server.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ How much you change your code depends on whether you intend to submit the code f
8080
,@script = N'R code here'
8181
```
8282

83-
+ Any variables that you pass in as parameters of the stored procedure [sp_execute_external_script](../../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md) must be mapped to variables in the code. By default, variables are mapped by name.
84-
All columns in the input dataset must also be mapped to variables in the script.
83+
+ Any variables that you pass in as parameters of the stored procedure [sp_execute_external_script](../../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md) must be mapped to variables in the code. By default, variables are mapped by name. All columns in the input dataset must also be mapped to variables in the script.
8584

8685
For example, assume your R script contains a formula like this one:
8786

docs/machine-learning/install/custom-runtime-r.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Install R custom runtime
33
description: Learn how to install an R custom runtime for SQL Server using Language Extensions. The Python custom runtime can run machine learning scripts.
44
ms.prod: sql
55
ms.technology: machine-learning-services
6-
ms.date: 03/16/2021
6+
ms.date: 04/07/2021
77
ms.topic: how-to
88
author: dphansen
99
ms.author: davidph
@@ -56,7 +56,7 @@ Use your own version of the R runtime with SQL Server, instead of the default ru
5656

5757
## Enable external script
5858

59-
You can execute a Python external script with the stored procedure [sp_execute_external script](../../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md).
59+
You can execute an R external script with the stored procedure [sp_execute_external script](../../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md).
6060

6161
To enable external scripts, use [Azure Data Studio](../../azure-data-studio/what-is-azure-data-studio.md) to execute the statement below.
6262

@@ -79,6 +79,10 @@ print(R.version);
7979
print("Hello RExtension!");'
8080
```
8181

82+
::: zone pivot="platform-windows"
83+
[!INCLUDE [R custom runtime - Windows - known issues](includes/custom-runtime-r-windows-known-issues.md)]
84+
::: zone-end
85+
8286
::: zone pivot="platform-linux-rhel"
8387
[!INCLUDE [R custom runtime - Linux - RHEL known issues](includes/custom-runtime-r-linux-known-issues-rhel.md)]
8488
::: zone-end
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
ms.prod: sql
3+
ms.technology: machine-learning-services
4+
ms.date: 04/07/2021
5+
ms.topic: include
6+
author: anmunde
7+
ms.author: anmunde
8+
ms.reviewer: dphansen
9+
---
10+
## Known issues
11+
12+
If you're using the R runtime provided as part of [SQL Server Machine Learning Services](../../sql-server-machine-learning-services.md) by setting `R_HOME` to `C:\Program Files\Microsoft SQL Server\MSSQL15.<INSTANCE_NAME>\R_SERVICES` when you register the language extension, you might run into the following error upon executing any external custom R script with [sp_execute_external script](../../../relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql.md).
13+
14+
*Error: cons memory exhausted (limit reached?)*
15+
16+
To resolve this issue:
17+
1. Set the environment variable `R_NSIZE` indicating the number of fixed sized objects (`cons cells`) to a reasonable value, for example, `200000`.
18+
1. Restart the **Launchpad** service and retry the execution of the script.

docs/machine-learning/install/includes/custom-runtime-r-windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
ms.prod: sql
33
ms.technology: machine-learning-services
4-
ms.date: 02/08/2021
4+
ms.date: 04/07/2021
55
ms.topic: include
66
author: dphansen
77
ms.author: davidph
@@ -87,7 +87,7 @@ Follow these steps to install the **Rcpp** package.
8787
1. Run the following script to install the Rcpp package in the `\library` folder in your R installation path. For example, `C:\Program Files\R\R-4.0.3\library`.
8888
8989
```R
90-
install.packages("Rcpp", lib="C:\Program Files\R\R-4.0.3\library");
90+
install.packages("Rcpp", lib="C:\\Program Files\\R\\R-4.0.3\\library");
9191
```
9292
9393
## Grant access to R folder

docs/reporting-services/reporting-services-features-supported-by-the-editions-of-sql-server-2016.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ For features supported by the Evaluation and Developer editions, see the SQL Ser
6868
> SQL Server Express with Tools and SQL Server Express don't support SQL Server Reporting Services.
6969
7070
## Edition requirements for the report server database
71-
When you create a report server database, not all editions of SQL Server [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] can be used to host the database. The following table shows you which editions of the [!INCLUDE[ssDE](../includes/ssde-md.md)] you can use for specific editions of SQL Server [!INCLUDE[ssRSnoversion](../includes/ssrsnoversion-md.md)].
71+
When you create a report server database, not all editions of [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] can be used to host the database. The following table shows you which editions of the [!INCLUDE[ssDE](../includes/ssde-md.md)] you can use for specific editions of SQL Server [!INCLUDE[ssRSnoversion](../includes/ssrsnoversion-md.md)].
7272

7373
|For this edition of [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] Reporting Services,|Use this edition of the Database Engine instance to host the database.|
7474
|----------------------------------------------------------------------|---------------------------------------------------------------------------|

docs/sql-server/install/configure-the-windows-firewall-to-allow-sql-server-access.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Configure Windows Firewall"
33
description: Learn how to configure the Windows firewall to allow access to an instance of the SQL Server through the firewall.
44
ms.custom: "contperf-fy21q3"
5-
ms.date: 03/26/2021
5+
ms.date: 04/07/2021
66
ms.prod: sql
77
ms.reviewer: ""
88
ms.technology: install
@@ -92,6 +92,16 @@ Configure the Windows Firewall settings with either **Microsoft Management Conso
9292
- [Netsh Command Syntax, Contexts, and Formatting](/windows-server/networking/technologies/netsh/netsh-contexts)
9393
- [How to use the "netsh advfirewall firewall" context instead of the "netsh firewall" context to control Windows Firewall behavior in Windows Server 2008 and in Windows Vista](https://support.microsoft.com/kb/947709)
9494
95+
- **PowerShell**
96+
97+
See the following example to open TCP port 1433 and UDP port 1434 for SQL Server default instance, and SQL Server Browser Service:
98+
99+
```powershell
100+
New-NetFirewallRule -DisplayName "SQLServer default instance" -Direction Inbound -LocalPort 1433 -Protocol TCP -Action Allow
101+
New-NetFirewallRule -DisplayName "SQLServer Browser service" -Direction Inbound -LocalPort 1434 -Protocol UDP -Action Allow
102+
```
103+
104+
For more examples, see [New-NetFirewallRule](/powershell/module/netsecurity/new-netfirewallrule).
95105
96106
- **For Linux**: On Linux, you also need to open the ports associated with the services you need access to. Different distributions of Linux and different firewalls have their own procedures. For two examples, see [SQL Server on Red Hat](../../linux/quickstart-install-connect-red-hat.md), and [SQL Server on SUSE](../../linux/quickstart-install-connect-suse.md).
97107

0 commit comments

Comments
 (0)