Hello,
I would like to know if i can set permissions on CloudBlockBlob? from following given example, which I am deleting [soureBlockBlob]. The whole idea is to restrict it from Public access for any use. I won't like to delete, just restrict access ... is it possible,
if yes, how? I need a running sample code plz.
var blobs = storageAccount.CreateCloudBlobClient().ListBlobsWithPrefix(blobContainerName + "/" + sourceFolderName, requestOptions);
foreach (var blob in blobs)
{
var sourceBlockBlob = blob as CloudBlockBlob;
sourceBlockBlob.DeleteIfExists();
Console.WriteLine(string.Format("Successfully deleted {0}", sourceBlockBlob.Name));
}
Shamshad Ali
Shamshad Ali