Skip to content

Commit 0959216

Browse files
authored
Merge pull request #267663 from cephalin/basicauth
add separate SCM/FTP buttons
2 parents 46fb834 + fa0bff4 commit 0959216

File tree

5 files changed

+18
-11
lines changed

5 files changed

+18
-11
lines changed

articles/app-service/configure-basic-auth-disable.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Disable basic authentication for deployment
33
description: Learn how to secure App Service deployment by disabling basic authentication.
44
keywords: azure app service, security, deployment, FTP, MsDeploy
55
ms.topic: article
6-
ms.date: 01/26/2024
6+
ms.date: 02/29/2024
77
author: cephalin
88
ms.author: cephalin
99
---
@@ -16,13 +16,18 @@ App Service provides basic authentication for FTP and WebDeploy clients to conne
1616

1717
## Disable basic authentication
1818

19+
Two different controls for basic authentication are available. Specifically:
20+
21+
- For [FTP deployment](deploy-ftp.md), basic authentication is controlled by the `basicPublishingCredentialsPolicies/ftp` flag (**FTP Basic Auth Publishing Credentials** option in the portal).
22+
- For other deployment methods that use basic authentication, such as Visual Studio, local Git, and GitHub, basic authentication is controlled by the `basicPublishingCredentialsPolicies/scm` flag (**SCM Basic Auth Publishing Credentials** option in the portal).
23+
1924
### [Azure portal](#tab/portal)
2025

21-
1. In the [Azure portal], search for and select **App Services**, and then select your app.
26+
1. In the [Azure portal](https://portal.azure.com), search for and select **App Services**, and then select your app.
2227

23-
1. In the app's left menu, select **Configuration**.
28+
1. In the app's left menu, select **Configuration** > **General settings**.
2429

25-
1. For **Basic Auth Publishing Credentials**, select **Off**, then select **Save**.
30+
1. For **SCM Basic Auth Publishing Credentials** or **FTP Basic Auth Publishing Credentials**, select **Off**, then select **Save**.
2631

2732
:::image type="content" source="media/configure-basic-auth-disable/basic-auth-disable.png" alt-text="A screenshot showing how to disable basic authentication for Azure App Service in the Azure portal.":::
2833

@@ -54,7 +59,9 @@ To confirm that Git access is blocked, try [local Git deployment](deploy-local-g
5459

5560
## Deployment without basic authentication
5661

57-
When you disable basic authentication, deployment methods that depend on basic authentication stop working. The following table shows how various deployment methods behave when basic authentication is disabled, and if there's any fallback mechanism. For more information, see [Authentication types by deployment methods in Azure App Service](deploy-authentication-types.md).
62+
When you disable basic authentication, deployment methods that depend on basic authentication stop working.
63+
64+
The following table shows how various deployment methods behave when basic authentication is disabled, and if there's any fallback mechanism. For more information, see [Authentication types by deployment methods in Azure App Service](deploy-authentication-types.md).
5865

5966
| Deployment method | When basic authentication is disabled |
6067
|-|-|

articles/app-service/deploy-continuous-deployment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Configure continuous deployment
33
description: Learn how to enable CI/CD to Azure App Service from GitHub, Bitbucket, Azure Repos, or other repos. Select the build pipeline that fits your needs.
44
ms.assetid: 6adb5c84-6cf3-424e-a336-c554f23b4000
55
ms.topic: article
6-
ms.date: 01/26/2024
6+
ms.date: 02/29/2024
77
author: cephalin
88
ms.author: cephalin
99
---
@@ -116,7 +116,7 @@ You can customize the GitHub Actions build provider in these ways:
116116
# [App Service Build Service](#tab/appservice)
117117

118118
> [!NOTE]
119-
> App Service Build Service requires [basic authentication to be enabled](configure-basic-auth-disable.md) for the webhook to work. For more information, see [Deployment without basic authentication](configure-basic-auth-disable.md#deployment-without-basic-authentication).
119+
> App Service Build Service requires [SCM basic authentication to be enabled](configure-basic-auth-disable.md) for the webhook to work. For more information, see [Deployment without basic authentication](configure-basic-auth-disable.md#deployment-without-basic-authentication).
120120
121121
App Service Build Service is the deployment and build engine native to App Service, otherwise known as Kudu. When this option is selected, App Service adds a webhook into the repository you authorized. Any code push to the repository triggers the webhook, and App Service pulls the changes into its repository and performs any deployment tasks. For more information, see [Deploying from GitHub (Kudu)](https://github.com/projectkudu/kudu/wiki/Deploying-from-GitHub).
122122

articles/app-service/deploy-ftp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to deploy your app to Azure App Service using FTP or FTPS
44

55
ms.assetid: ae78b410-1bc0-4d72-8fc4-ac69801247ae
66
ms.topic: article
7-
ms.date: 01/26/2024
7+
ms.date: 02/29/2024
88
author: cephalin
99
ms.author: cephalin
1010
---
@@ -17,7 +17,7 @@ or API app to [Azure App Service](./overview.md).
1717
The FTP/S endpoint for your app is already active. No configuration is necessary to enable FTP/S deployment.
1818

1919
> [!NOTE]
20-
> When [basic authentication is disabled](configure-basic-auth-disable.md), FTP/S deployment doesn't work, and you can't view or configure FTP credentials in the app's Deployment Center.
20+
> When [FTP basic authentication is disabled](configure-basic-auth-disable.md), FTP/S deployment doesn't work, and you can't view or configure FTP credentials in the app's Deployment Center.
2121
2222
## Get deployment credentials
2323

articles/app-service/deploy-local-git.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Deploy from local Git repo
33
description: Learn how to enable local Git deployment to Azure App Service. One of the simplest ways to deploy code from your local machine.
44
ms.assetid: ac50a623-c4b8-4dfd-96b2-a09420770063
55
ms.topic: article
6-
ms.date: 01/26/2024
6+
ms.date: 02/29/2024
77
ms.reviewer: dariac
88
ms.custom: devx-track-azurecli, devx-track-azurepowershell
99
author: cephalin
@@ -14,7 +14,7 @@ ms.author: cephalin
1414
This how-to guide shows you how to deploy your app to [Azure App Service](overview.md) from a Git repository on your local computer.
1515

1616
> [!NOTE]
17-
> When [basic authentication is disabled](configure-basic-auth-disable.md), Local Git deployment doesn't work, and you can't configure Local Git deployment in the app's Deployment Center.
17+
> When [SCM basic authentication is disabled](configure-basic-auth-disable.md), Local Git deployment doesn't work, and you can't configure Local Git deployment in the app's Deployment Center.
1818
1919
## Prerequisites
2020

-20.1 KB
Loading

0 commit comments

Comments
 (0)