EldoS | Feel safer!

Software components for data protection, secure storage and transfer

CloudBlackBox question

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
Posted: 03/30/2013 03:23:26
by drazen (Standard support level)
Joined: 01/28/2013
Posts: 6


For any of Cloud components you support (Azure, S3, Dropbox, ...) we need to get full URL for donwloading some files via HTTP (Browser). How the URL to direct object (of couse, if public and available) is created.

For example for Azure we have AccountName, ContainterName and ObjectName but I cant find servername URL is probably: (http://account.servername/containername/objectname)

Please help, thanks!
Posted: 03/30/2013 11:46:13
by Ken Ivanov (EldoS Corp.)

It is not always possible to get the full WWW-friendly URL, as not all services support browser-based access to objects.

1. Azure:

- create a shared access signature:

sas := Storage.CreateSharedAccessSignature(<containername>, <blobname>, policy);

- compose the url in the following way:

URL: https://<accountname>.blob.core.windows.net/<containername>/<blobname>?<sharedaccesssignature>

2. Amazon S3: not possible at the moment due to restrictions of the service.

3. Dropbox: use TElDropboxDataStorageObject.GetDirectLink() method.

4. Google Docs: not possible at the moment due to restrictions of the service.
Posted: 03/30/2013 12:30:02
by Ken Ivanov (EldoS Corp.)

Please also note, that if you use CloudBlackbox components to store objects in protected form (by passing non-empty security handlers to WriteObject() calls), you will not be able to download them with a browser in original form for obvious reasons.



Topic viewed 563 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!