Public Buckets
Storj supports public access with a LINKSHARINGKEY
, which similar to public buckets on S3 but has more fine-grained controls.
To generate a LINKSHARINGKEY
and make your bucket public:
Embeddable Content
The share from above will give you a browser URL linking to the default Storj share page. It will be of the form https://link.storjshare.io/s/LINKSHARINGKEY/BUCKET/
.
To make the content embeddable insert /raw/
before LINKSHARINGKEY
(you may need to swap /s/
for /raw/
instead). This prefix can then be used to access anything in the bucket.
For example, to access two different images:
https://link.storjshare.io/raw/LINKSHARINGKEY/BUCKET/my_image1.png https://link.storjshare.io/raw/LINKSHARINGKEY/BUCKET/my_image2.png