Skip to content

Commit e1b1a1d

Browse files
Merge pull request #222626 from PatrickFarley/comvis-updates
[cog svcs] add security note
2 parents 1cfa756 + f097551 commit e1b1a1d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/cognitive-services/Computer-vision/Tutorials/storage-lab-tutorial.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: nitinme
99
ms.service: cognitive-services
1010
ms.subservice: computer-vision
1111
ms.topic: tutorial
12-
ms.date: 07/06/2021
12+
ms.date: 12/29/2022
1313
ms.author: pafarley
1414
ms.devlang: csharp
1515
ms.custom: devx-track-csharp
@@ -132,6 +132,9 @@ In this section, you'll create a new Web app in Visual Studio and add code to im
132132
```xml
133133
<add key="StorageConnectionString" value="DefaultEndpointsProtocol=https;AccountName=ACCOUNT_NAME;AccountKey=ACCOUNT_KEY" />
134134
```
135+
136+
> [!IMPORTANT]
137+
> The _Web.config_ file is meant to hold sensitive information like your subscription keys, and any HTTP request to a file with the _.config_ extension is handled by the ASP.NET engine, which returns a "This type of page is not served" message. However, if an attacker is able to find some other exploit that allows them to view your _Web.config_ contents, then they'll be able to expose that information. See [Protecting Connection Strings and Other Configuration Information](/aspnet/web-forms/overview/data-access/advanced-data-access-scenarios/protecting-connection-strings-and-other-configuration-information-cs) for extra steps you can take to further secure your _Web.config_ data.
135138

136139
1. Open the file named *_Layout.cshtml* in the project's **Views/Shared** folder. On line 19, change "Application name" to "Intellipix." The line should look like this:
137140

0 commit comments

Comments
 (0)