How to download the stl files stored in a blob storage and attach these links in a SQL Database to directly download the stl files from the storage without giving access to other files

Ankit Bharti 60 Reputation points
2023-12-19T14:57:04.9566667+00:00

I want to attach the links of a stl files which are stored in a container and these links are attached in a SQL Database, so it can be given to my teammates for download a specific files mentioned in a SQL Database.

Please let me know the method to approach this concept.

Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,538 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,201 questions
{count} votes

Accepted answer
  1. Anand Prakash Yadav 7,860 Reputation points Microsoft External Staff
    2023-12-20T11:35:54.0766667+00:00

    Hello Ankit Bharti,

    Thank you for posting your query here!

    It appears to me that you mean to provide controlled access to specific files stored in Azure Blob Storage with SQL Database for storing access information. Please correct me if I misunderstand the issue.

    To achieve this end goal, you can upload STL Files to Azure Blob Storage, then generate a SAS for each STL file in the container (at Blob level). The SAS will be a token appended to the blob URL, providing time-limited and scoped access. This allows you to control access to specific files.

    In your SQL Database, create a table to store information about the STL files. This table should include columns such as FileName, SASLink. For each STL file, generate a SAS and insert the file information into the SQL Database table.

    Finally, share the necessary SQL Database with your teammates. This allows them to connect to the database and retrieve SAS links for accessing specific STL files.

    Please let us know if you have any further queries. I’m happy to assist you further.


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

8 additional answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.