I need to add Azure Blob Storage functionality in an existing classic ASP .NET website in IIS.
Website :
.NET Framework with Forms authentication, Roles enabled. Hosting Environment : Non Azure Data Centre
Roles
Role 1 : HeadOffice ( Users in the company head office )
Role 2 : CreditCustomer ( all credit customers are assigned this role )
Folders
- HO - access given to Role 1. Multiple web forms accessed by Role 1.
- Customer - access given to Role 2. Multiple web forms accessed by Role 2.
Functionality needed
Access Azure Blob Storage externally :
1. HO - can read write.
2. Customer - can read/download.
Need functionality where Customer 1 cannot access blobs for Customer 2 and vice versa.
Additional Role can be assigned to every customer.
This is an 2012 article which I think can be modified for my use.
https://www.dotnetcurry.com/windows-azure/803/blob-storage-aspnet-windows-azure
Shall I work with the above or is there an update? Or Shall I explore REST API ?
Whatever I do, I intend to host it in the Data Centre (not in Azure) where the website is currently hosted.
Thanks a lot!