Skip to content

Commit dd8c7a5

Browse files
authored
Merge pull request #13346 from MicrosoftDocs/main
Merge main into live
2 parents cf3442d + 7a2ac41 commit dd8c7a5

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

docs/debugger/remote-debugging-aspnet-on-a-remote-iis-7-5-computer.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ When you're ready, switch to a debug configuration.
136136
1. Select **Save** and then republish the app.
137137
::: moniker-end
138138

139+
> [!WARNING]
140+
> In a production environment, using username and password credentials (basic authentication) is not the most secure method of authentication. Whenever possible, use alternative methods. For example, consider publishing to a package from Visual Studio, and then use *WebDeploy.exe* from a command line to deploy the package. With that method, you can use IIS Manager to configure authorized Windows users who can publish to the web server, and run *WebDeploy.exe* under that Windows user account. See [Installing and Configuring Web Deploy on IIS 8.0 or Later](/iis/install/installing-publishing-technologies/installing-and-configuring-web-deploy-on-iis-80-or-later). If you do use password credentials, be sure to use a strong password, and secure the password from being leaked or shared.
141+
139142
## (Optional) Deploy by publishing to a local folder
140143

141144
You can use this option to deploy your app if you want to copy the app to IIS using PowerShell, RoboCopy, or you want to manually copy the files.
@@ -156,7 +159,12 @@ You can use this option to deploy your app if you want to copy the app to IIS us
156159

157160
7. Under **Connections**, select **Application Pools**. Open **DefaultAppPool** and set the Application pool field to **ASP.NET v4.0** (ASP.NET 4.5 isn't an option for the Application pool).
158161

159-
8. With the site selected in the IIS Manager, choose **Edit Permissions**, and make sure that IUSR, IIS_IUSRS, or the user configured for the Application Pool is an authorized user with Read & Execute rights. If none of these users are present, add IUSR as a user with Read & Execute rights.
162+
8. With the site selected in the IIS Manager, choose **Edit Permissions**, and make sure that IUSR, IIS_IUSRS, or the user configured for the Application Pool is an authorized user with Read & Execute rights.
163+
164+
If you don't see one of these users with access, go through steps to add IUSR as a user with Read & Execute rights.
165+
166+
> [!IMPORTANT]
167+
> For security information related to the built-in accounts, see [Understanding Built-In User and Group Accounts in IIS 7](/iis/get-started/planning-for-security/understanding-built-in-user-and-group-accounts-in-iis).
160168
161169
### Publish and Deploy the app by publishing to a local folder from Visual Studio
162170

docs/debugger/remote-debugging-aspnet-on-a-remote-iis-computer.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ When you're ready, switch to a debug configuration.
136136
1. Select a **Debug** configuration, and then select **Remove additional files at destination** under the **File Publish** options.
137137
::: moniker-end
138138

139+
> [!WARNING]
140+
> Using username and password credentials (basic authentication) is not the most secure method of authentication. Whenever possible, use alternative methods. For example, consider publishing to a package from Visual Studio, and then use *WebDeploy.exe* from a command line to deploy the package. With that method, you can use IIS Manager to configure authorized Windows users who can publish to the web server, and run *WebDeploy.exe* under that Windows user account. See [Installing and Configuring Web Deploy on IIS 8.0 or Later](/iis/install/installing-publishing-technologies/installing-and-configuring-web-deploy-on-iis-80-or-later). If you do use password credentials, be sure to use a strong password, and secure the password from being leaked or shared.
141+
139142
## (Optional) Deploy by publishing to a local folder
140143

141144
You can use this option to deploy your app if you want to copy the app to IIS using PowerShell, RoboCopy, or you want to manually copy the files.
@@ -160,6 +163,9 @@ You can use this option to deploy your app if you want to copy the app to IIS us
160163

161164
If you don't see one of these users with access, go through steps to add IUSR as a user with Read & Execute rights.
162165

166+
> [!IMPORTANT]
167+
> For security information related to the built-in accounts, see [Understanding Built-In User and Group Accounts in IIS 7](/iis/get-started/planning-for-security/understanding-built-in-user-and-group-accounts-in-iis).
168+
163169
### Publish and Deploy the app by publishing to a local folder from Visual Studio
164170

165171
You can also publish and deploy the app using the file system or other tools.

docs/debugger/remote-debugging-azure.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ When you're ready, switch to a debug configuration.
146146
1. Select a **Debug** configuration, and then select **Remove additional files at destination** under the **File Publish** options.
147147
::: moniker-end
148148

149+
> [!WARNING]
150+
> Using username and password credentials (basic authentication) is not the most secure method of authentication. Whenever possible, use alternative methods. For example, consider publishing to a package from Visual Studio, and then use *WebDeploy.exe* from a command line to deploy the package. With that method, you can use IIS Manager to configure authorized Windows users who can publish to the web server, and run *WebDeploy.exe* under that Windows user account. See [Installing and Configuring Web Deploy on IIS 8.0 or Later](/iis/install/installing-publishing-technologies/installing-and-configuring-web-deploy-on-iis-80-or-later). If you do use password credentials, be sure to use a strong password, and secure the password from being leaked or shared.
151+
149152
## (Optional) Deploy by publishing to a local folder
150153

151154
You can use this option to deploy your app if you want to copy the app to IIS using PowerShell, RoboCopy, or you want to manually copy the files.
@@ -164,6 +167,9 @@ If you're importing publish settings, you can skip this section.
164167

165168
If you don't see one of these users with access, go through steps to add IUSR as a user with Read & Execute rights.
166169

170+
> [!IMPORTANT]
171+
> For security information related to the built-in accounts, see [Understanding Built-In User and Group Accounts in IIS 7](/iis/get-started/planning-for-security/understanding-built-in-user-and-group-accounts-in-iis).
172+
167173
### (Optional) Publish and Deploy the app by publishing to a local folder from Visual Studio
168174

169175
If you're not using Web Deploy, you must publish and deploy the app using the file system or other tools. You can start by creating a package using the file system, and then either deploy the package manually or use other tools like PowerShell, Robocopy, or XCopy. In this section, we assume you're manually copying the package if you aren't using Web Deploy.

0 commit comments

Comments
 (0)