Skip to content

Commit 518bdf1

Browse files
Merge pull request #13122 from MicrosoftDocs/ghogen-patch-74-1
SFI: Reference more secure methods for connection to database
2 parents aea8875 + e4248cf commit 518bdf1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/data-tools/create-a-simple-data-application-by-using-adonet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ You can find the connection string by right-clicking on the **Sales** data conne
137137

138138
:::image type="content" source="media/vs-2022/simple-data-app-settings.png" alt-text="Screenshot of Connection String in Settings.settings" lightbox="media/vs-2022/simple-data-app-settings.png":::
139139

140-
> [!NOTE]
141-
> In a real application, you should store the connection string securely, as described in [Connection strings and configuration files](/dotnet/framework/data/adonet/connection-strings-and-configuration-files).
140+
> [!CAUTION]
141+
> In a real application, you should store the connection string securely, as described in [Connection strings and configuration files](/dotnet/framework/data/adonet/connection-strings-and-configuration-files). For best security, use an authentication method that doesn't rely on storing a password in the connection string, such as Windows Authentication for an on-premises SQL Server database. See [Save and edit connection strings](how-to-save-and-edit-connection-strings.md).
142142
143143
## Write the code for the forms
144144

0 commit comments

Comments
 (0)