You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# As a JavaScript developer, I want to know how to upload files to blob storage within an application, so that I can adopt this functionality into my own solution.
11
12
---
12
13
13
14
# JavaScript Tutorial: Upload and analyze a file with Azure Functions and Blob Storage
@@ -17,13 +18,12 @@ In this tutorial, you'll learn how to upload an image to Azure Blob Storage and
17
18
Azure Blob Storage is Microsoft's massively scalable object storage solution for the cloud. Blob Storage is designed for storing images and documents, streaming media files, managing backup and archive data, and much more. You can read more about Blob Storage on the [overview page](./storage-blobs-introduction.md).
18
19
19
20
> [!WARNING]
20
-
> This tutorial uses publicly accessible storage to simplify the process to finish this tutorial. Anonymous public access presents a security risk. [Learn how to remediate this risk.](/azure/storage/blobs/anonymous-read-access-overview)
21
+
> This tutorial is meant for quick adoption and as such it doesn't follow secure-by-default requirements. To understand more about this scenario with a secure-by-default goal, go to [Security considerations](#security-considerations).
21
22
22
23
Azure Cosmos DB is a fully managed NoSQL and relational database for modern app development.
23
24
24
25
Azure Functions is a serverless computer solution that allows you to write and run small blocks of code as highly scalable, serverless, event driven functions. You can read more about Azure Functions on the [overview page](../../azure-functions/functions-overview.md).
25
26
26
-
27
27
In this tutorial, learn how to:
28
28
29
29
> [!div class="checklist"]
@@ -563,12 +563,19 @@ If you're not going to continue to use this application, you can delete the reso
563
563
1. Find and right-click the `msdocs-storage-function` resource group from the list.
564
564
1. Select **Delete**. The process to delete the resource group may take a few minutes to complete.
565
565
566
+
## Security considerations
567
+
568
+
This solution, as a beginner tutorial, doesn't demonstrate secure-by-default practices. This is intentional to allow you to be successful in deploying the solution. The next step after that successful deployment is to secure the resources. This solution uses three Azure services, each has its own security features and considerations for secure-by-default configuration:
* [Create a function app that connects to Azure services using identities instead of secrets](/azure/azure-functions/functions-identity-based-connections-tutorial)
574
581
* [Remediating anonymous public read access for blob data](/azure/storage/blobs/anonymous-read-access-overview)
0 commit comments