{
    "id": "e6be1a49-4bb1-4c1d-a44b-e28a79290a25",
    "name": "Protect a Web App with an Application Gateway",
    "slug": "protect-a-web-app-with-an-application-gateway",
    "status": "published",
    "lab_type": "pta",
    "is_sample": false,
    "duration_in_seconds": 1800,
    "metadata": {
        "courses": [
            "f96d278d-a360-401b-95a5-28f3214cdc89"
        ],
        "pta_sdn": "142",
        "pta_namespace": "my.ine",
        "learning_paths": [],
        "has_published_parent": true
    },
    "session": null,
    "company": "a491bc32-c056-4946-9169-cc053387bada",
    "created": "2022-09-10T21:54:42.797375Z",
    "modified": "2023-10-03T18:59:07.805470Z",
    "is_beta": false,
    "lab_objectives": [],
    "main_learning_area": "d3f82c70-f4e7-428e-afd7-4b1d28988e18",
    "learning_areas": [
        {
            "id": "d3f82c70-f4e7-428e-afd7-4b1d28988e18",
            "name": "Cloud",
            "slug": "cloud"
        }
    ],
    "categories": [],
    "tags": [],
    "difficulty": null,
    "is_web_access": true,
    "is_lab_experience": false,
    "is_featured": false,
    "cve": null,
    "severity": null,
    "year": null,
    "classification": null,
    "is_trackable": false,
    "cpe_credits": null,
    "is_skill_check": false,
    "external_url": "",
    "solution_video": null,
    "explanation_video": null,
    "description": "# Protect a Web App with an Application Gateway \n\n**Objective** : In this task you will provision a web app and provision an application gateway with web application firewall to protect it. You will configure the web app to only allow traffic from the virtual network associated with the application gateway.\n\n**Note:** For this task, you will actually degrade the direct security on the web app. You will not require HTTPS. This is to allow the system to work without deploying a certificate to the application gateway. In a production system you should absolutely use certificates, but certificate generation is well outside the scope of this task.",
    "description_html": "<h1>Protect a Web App with an Application Gateway</h1>\n<p><strong>Objective</strong> : In this task you will provision a web app and provision an application gateway with web application firewall to protect it. You will configure the web app to only allow traffic from the virtual network associated with the application gateway.</p>\n<p><strong>Note:</strong> For this task, you will actually degrade the direct security on the web app. You will not require HTTPS. This is to allow the system to work without deploying a certificate to the application gateway. In a production system you should absolutely use certificates, but certificate generation is well outside the scope of this task.</p>",
    "tasks": "",
    "tasks_html": "",
    "published_date": "2020-06-16T15:57:29Z",
    "solutions": "## Start the lab\n\n**1**. Start the lab, agree after reading terms and conditions and check the credentials/URL provided on the page.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/st_1.png)\n\n**2**. Open the Login URL link in incognito (Right click on the URL and select Open Link in Incognito Window option).\n\nThe URL will take you to the Azure Portal login page. Use the provided username and password to login into it.\n\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/st_2.png)\n\n\nEnter password \n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/st_3.png)\n\nThe Azure portal dashboard should be available to you along with the empty Resource Group.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/st_4.png)\n\n## Provision a web app\n\nYou need to provision a web app.\n\n**1**. Click on the hamburger icon on the top left corner to open up the menu. Now, click on **Create a resource**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_1.png)\n\n**2**. Navigate to **Web App** and click on it.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_2.png)\n\n**3**. Now, fill in the required details. Use the following settings:\n\n- **Resource group**: <*existing resource group*>\n- **Name**:\t<*a unique name*>\n- **Publish**: Code\n- **Runtime stack**: .NET core 3.1\n- **Operating system**:\tLinux\n- **Region**: East US\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_3.png)\n\n**4**. Scroll down. For Linux Plan click on **Create new**. Give it a name like **websec-asp** and click on **OK**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_4.png)\n\n**5**. For Sku and size, click on **Change size**. On the Spec Picker page and under Production tab, click on **See additional options**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_5.png)\n\n**6**. Select **S1** and click on **Apply**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_6.png)\n\n**7**. Use defaults for all other settings and directly click on **Review + create**. Review the details and then click on **Create**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_7.png)\n\n**8**. Once the deployment is complete, you will see the following.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_8.png)\n\n## Provision an application gateway\n\nYou need to provision an application gateway with a web application firewall to protect the web app.\n\n**1**. Click on the hamburger icon on the top left corner to open up the menu. Now, click on **Create a resource**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_1.png)\n\n**2**. Search for Application Gateway and click on it.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_2.png)\n\n**3**. In the following page, click on **Create**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_3.png)\n\n**4**. Now on the Basics tab, fill in the required details. Use the following settings:\n\n- **Resource group**: <*existing resource group*>\n- **Application gateway name**: websec-ag\n- **Region**: East US\n- **Tier**: WAF V2\n- **Enable autoscaling**: No\n- **Instance count**: 2\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_4.png)\n\n**5**. Scroll down. For WAF Policy click on **Create new**. On the blade that has opened, type a unique name say **inewafv2**. Click on **Add Bot Protection** checkbox and then click on **OK**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_5.png)\n\n**6**. For Virtual network click on **Create new**. On the blade that has opened, type a unique name say **websec-vnet**. And then just add a second subnet with name as **ApplicationGatewaySubnet** and the address range as **10.0.255.0/24**. After that click on **OK**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_6.png)\n\n**7**. Make sure the Subnet selected is **ApplicationGatewaySubnet** and then go to the Frontends tab. Set the Frontend IP address type to **Public**. To add a new Public IP Address click on **Add new**. Give it a uniuqe name say **websec-pip** and then click on **OK**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_7.png)\n\n**8**. Next go to Backends tab. Click on **Add a backend pool**. On the blade that has opened, type a unique name say **webapps**. Set the Target Type to **App Services** and select your web app as the Target. After that click on **Add**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_8.png)\n\n**9**. Next go to Configuration. Click on **Add a routing rule**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_9.png)\n\n**10**. On the blade that has opened, type the Rule name as **http** and a Priority say **10**. Under Listener tab use the following settings:\n\n- **Listener name**: http\n- **Frontend IP**: Public\n- **Protocol**: HTTP\n- **Port**:\t80 \n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_10.png)\n\n**11**. Under Backend targets tab, set Target type as **Backend Pool** and select **webapps** for Backend target. For Backend settings click on **Add new**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_11.png)\n\n**12**. On the Add Backend setting blade that has opened, use the following settings:\n\n- **Backend settings name**: http\n- **Backend protocol**: HTTP\n- **Backend port**: 80\n- **Override with new host name**: Yes\n- **Host name**: Pick host name from backend target\n- **Create custom probes**: No \n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_12.png)\n\nAfter that click on **Add** and then again click on **Add**. \n\n**13**. Next directly go to **Review + create** and then click on **Create**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_13.png)\n\n**14**. Once the deployment is complete, you will see the following.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_14.png)\n\n## Configure the web app\n\nNext you need to configure the you web app created. The web app should only allow traffic from the **ApplicationGatewaySubnet** of the **websec-vnet** virtual network.\n\n**1**. Go to your web app and then click on **Networking** in the left navigation. On this page click on **Access restriction**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/config_1.png)\n\n**2**. On the Access Restrictions page, click on **Add rule**. On the blade opened to your right use the following settings:\n\n- **Name**: appgway\n- **Priority**:\t100\n- **Type**: Virtual Network\n- **Virtual network**:\twebsec-vnet\n- **Subnet**: ApplicationGatewaySubnet\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/config_2.png)\n\nAfter that click on **Add rule**.\n\n**3**. After the rule has been added, go to your web app page and then click on **TLS/SSL settings** in the left navigation. On this page, set the HTTPS Only setting to **Off**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/config_3.png)\n\n**Note:** By not requiring HTTPS, you are negating the need to generate a certificate and install it at the web app and application gateway. In production web apps should require HTTPS and TLS 1.2.\n\n## Verify connectivity to the web app\n\nFinally, you need to verify that you can only reach the web app via the application gateway.\n\n**1**. Go to the **Overview** page of your web app. Attempt to browse the web app by clicking on **Browse**.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/verify_1.png)\n\n**2**. You should receive a 403 error as shown.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/verify_2.png)\n\n**3**. Next go to your application gateway page. Record the IP address and attempt to browse to that IP address using HTTP.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/verify_3.png)\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/verify_3_.png)\n\n**4**. You should receive the app service placeholder page as shown.\n\n![](https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/verify_4.png)\n\n# Conclusion\n\nIn this task you provisioned a web app and an application gateway with web application firewall to protect it. You configured the web app to only allow traffic from the virtual network associated with the application gateway.",
    "solutions_html": "<h2>Start the lab</h2>\n<p><strong>1</strong>. Start the lab, agree after reading terms and conditions and check the credentials/URL provided on the page.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/st_1.png\" /></p>\n<p><strong>2</strong>. Open the Login URL link in incognito (Right click on the URL and select Open Link in Incognito Window option).</p>\n<p>The URL will take you to the Azure Portal login page. Use the provided username and password to login into it.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/st_2.png\" /></p>\n<p>Enter password </p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/st_3.png\" /></p>\n<p>The Azure portal dashboard should be available to you along with the empty Resource Group.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/st_4.png\" /></p>\n<h2>Provision a web app</h2>\n<p>You need to provision a web app.</p>\n<p><strong>1</strong>. Click on the hamburger icon on the top left corner to open up the menu. Now, click on <strong>Create a resource</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_1.png\" /></p>\n<p><strong>2</strong>. Navigate to <strong>Web App</strong> and click on it.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_2.png\" /></p>\n<p><strong>3</strong>. Now, fill in the required details. Use the following settings:</p>\n<ul>\n<li><strong>Resource group</strong>: &lt;<em>existing resource group</em>&gt;</li>\n<li><strong>Name</strong>: &lt;<em>a unique name</em>&gt;</li>\n<li><strong>Publish</strong>: Code</li>\n<li><strong>Runtime stack</strong>: .NET core 3.1</li>\n<li><strong>Operating system</strong>: Linux</li>\n<li><strong>Region</strong>: East US</li>\n</ul>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_3.png\" /></p>\n<p><strong>4</strong>. Scroll down. For Linux Plan click on <strong>Create new</strong>. Give it a name like <strong>websec-asp</strong> and click on <strong>OK</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_4.png\" /></p>\n<p><strong>5</strong>. For Sku and size, click on <strong>Change size</strong>. On the Spec Picker page and under Production tab, click on <strong>See additional options</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_5.png\" /></p>\n<p><strong>6</strong>. Select <strong>S1</strong> and click on <strong>Apply</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_6.png\" /></p>\n<p><strong>7</strong>. Use defaults for all other settings and directly click on <strong>Review + create</strong>. Review the details and then click on <strong>Create</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_7.png\" /></p>\n<p><strong>8</strong>. Once the deployment is complete, you will see the following.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/web_8.png\" /></p>\n<h2>Provision an application gateway</h2>\n<p>You need to provision an application gateway with a web application firewall to protect the web app.</p>\n<p><strong>1</strong>. Click on the hamburger icon on the top left corner to open up the menu. Now, click on <strong>Create a resource</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_1.png\" /></p>\n<p><strong>2</strong>. Search for Application Gateway and click on it.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_2.png\" /></p>\n<p><strong>3</strong>. In the following page, click on <strong>Create</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_3.png\" /></p>\n<p><strong>4</strong>. Now on the Basics tab, fill in the required details. Use the following settings:</p>\n<ul>\n<li><strong>Resource group</strong>: &lt;<em>existing resource group</em>&gt;</li>\n<li><strong>Application gateway name</strong>: websec-ag</li>\n<li><strong>Region</strong>: East US</li>\n<li><strong>Tier</strong>: WAF V2</li>\n<li><strong>Enable autoscaling</strong>: No</li>\n<li><strong>Instance count</strong>: 2</li>\n</ul>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_4.png\" /></p>\n<p><strong>5</strong>. Scroll down. For WAF Policy click on <strong>Create new</strong>. On the blade that has opened, type a unique name say <strong>inewafv2</strong>. Click on <strong>Add Bot Protection</strong> checkbox and then click on <strong>OK</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_5.png\" /></p>\n<p><strong>6</strong>. For Virtual network click on <strong>Create new</strong>. On the blade that has opened, type a unique name say <strong>websec-vnet</strong>. And then just add a second subnet with name as <strong>ApplicationGatewaySubnet</strong> and the address range as <strong>10.0.255.0/24</strong>. After that click on <strong>OK</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_6.png\" /></p>\n<p><strong>7</strong>. Make sure the Subnet selected is <strong>ApplicationGatewaySubnet</strong> and then go to the Frontends tab. Set the Frontend IP address type to <strong>Public</strong>. To add a new Public IP Address click on <strong>Add new</strong>. Give it a uniuqe name say <strong>websec-pip</strong> and then click on <strong>OK</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_7.png\" /></p>\n<p><strong>8</strong>. Next go to Backends tab. Click on <strong>Add a backend pool</strong>. On the blade that has opened, type a unique name say <strong>webapps</strong>. Set the Target Type to <strong>App Services</strong> and select your web app as the Target. After that click on <strong>Add</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_8.png\" /></p>\n<p><strong>9</strong>. Next go to Configuration. Click on <strong>Add a routing rule</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_9.png\" /></p>\n<p><strong>10</strong>. On the blade that has opened, type the Rule name as <strong>http</strong> and a Priority say <strong>10</strong>. Under Listener tab use the following settings:</p>\n<ul>\n<li><strong>Listener name</strong>: http</li>\n<li><strong>Frontend IP</strong>: Public</li>\n<li><strong>Protocol</strong>: HTTP</li>\n<li><strong>Port</strong>: 80 </li>\n</ul>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_10.png\" /></p>\n<p><strong>11</strong>. Under Backend targets tab, set Target type as <strong>Backend Pool</strong> and select <strong>webapps</strong> for Backend target. For Backend settings click on <strong>Add new</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_11.png\" /></p>\n<p><strong>12</strong>. On the Add Backend setting blade that has opened, use the following settings:</p>\n<ul>\n<li><strong>Backend settings name</strong>: http</li>\n<li><strong>Backend protocol</strong>: HTTP</li>\n<li><strong>Backend port</strong>: 80</li>\n<li><strong>Override with new host name</strong>: Yes</li>\n<li><strong>Host name</strong>: Pick host name from backend target</li>\n<li><strong>Create custom probes</strong>: No </li>\n</ul>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_12.png\" /></p>\n<p>After that click on <strong>Add</strong> and then again click on <strong>Add</strong>. </p>\n<p><strong>13</strong>. Next directly go to <strong>Review + create</strong> and then click on <strong>Create</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_13.png\" /></p>\n<p><strong>14</strong>. Once the deployment is complete, you will see the following.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/gate_14.png\" /></p>\n<h2>Configure the web app</h2>\n<p>Next you need to configure the you web app created. The web app should only allow traffic from the <strong>ApplicationGatewaySubnet</strong> of the <strong>websec-vnet</strong> virtual network.</p>\n<p><strong>1</strong>. Go to your web app and then click on <strong>Networking</strong> in the left navigation. On this page click on <strong>Access restriction</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/config_1.png\" /></p>\n<p><strong>2</strong>. On the Access Restrictions page, click on <strong>Add rule</strong>. On the blade opened to your right use the following settings:</p>\n<ul>\n<li><strong>Name</strong>: appgway</li>\n<li><strong>Priority</strong>: 100</li>\n<li><strong>Type</strong>: Virtual Network</li>\n<li><strong>Virtual network</strong>:  websec-vnet</li>\n<li><strong>Subnet</strong>: ApplicationGatewaySubnet</li>\n</ul>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/config_2.png\" /></p>\n<p>After that click on <strong>Add rule</strong>.</p>\n<p><strong>3</strong>. After the rule has been added, go to your web app page and then click on <strong>TLS/SSL settings</strong> in the left navigation. On this page, set the HTTPS Only setting to <strong>Off</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/config_3.png\" /></p>\n<p><strong>Note:</strong> By not requiring HTTPS, you are negating the need to generate a certificate and install it at the web app and application gateway. In production web apps should require HTTPS and TLS 1.2.</p>\n<h2>Verify connectivity to the web app</h2>\n<p>Finally, you need to verify that you can only reach the web app via the application gateway.</p>\n<p><strong>1</strong>. Go to the <strong>Overview</strong> page of your web app. Attempt to browse the web app by clicking on <strong>Browse</strong>.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/verify_1.png\" /></p>\n<p><strong>2</strong>. You should receive a 403 error as shown.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/verify_2.png\" /></p>\n<p><strong>3</strong>. Next go to your application gateway page. Record the IP address and attempt to browse to that IP address using HTTP.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/verify_3.png\" /></p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/verify_3_.png\" /></p>\n<p><strong>4</strong>. You should receive the app service placeholder page as shown.</p>\n<p><img alt=\"\" src=\"https://assets.ine.com/content/labs/azure-course-labs/protect-a-web-app-with-an-application-gateway/verify_4.png\" /></p>\n<h1>Conclusion</h1>\n<p>In this task you provisioned a web app and an application gateway with web application firewall to protect it. You configured the web app to only allow traffic from the virtual network associated with the application gateway.</p>",
    "flags": [],
    "min_points_to_pass": null,
    "access_type": "web",
    "user_status": "unstarted",
    "user_lab_status": null,
    "user_status_modified": null,
    "user_flags": [],
    "global_running_session": null
}