i am storing my data to azure blobs. if the container name known, then we can access all the blobs in that container. but i need to make some authentication for accessing the blobs.
Example : set some password to access the blob while creating it.
send the password to get the blob's content.
is this possible?
code retrieve the blob without any authnetication:
for (ListBlobItem blobItem : container.listBlobs()) {
// If the item is a blob, not a virtual directory
if (blobItem instanceof CloudBlockBlob) {
// Download the text
CloudBlockBlob retrievedBlob = (CloudBlockBlob) blobItem;
act.outputText(view, retrievedBlob.downloadText());
}
}