Skip to content

Commit 7f2b5b8

Browse files
committed
add security note
1 parent e4d9846 commit 7f2b5b8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ In this section, you'll create a new Web app in Visual Studio and add code to im
133133
<add key="StorageConnectionString" value="DefaultEndpointsProtocol=https;AccountName=ACCOUNT_NAME;AccountKey=ACCOUNT_KEY" />
134134
```
135135

136+
> [!CAUTION]
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 this 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.
138+
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

138141
```C#

0 commit comments

Comments
 (0)