# Url for the object with public-read acl

**URL:** <https://forum.storj.io/t/url-for-the-object-with-public-read-acl/28681>\
**Category:** Developer Discussions\
**Tags:** gateway-mt, s3-gateway\
**Created:** [November 29, 2024, 1:53pm UTC](https://forum.storj.io/t/url-for-the-object-with-public-read-acl/28681 "2024-11-29T13:53:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [November 30, 2024, 5:47am UTC](https://forum.storj.io/t/url-for-the-object-with-public-read-acl/28681/2 "2024-11-30T05:47:48Z")

</div>

Hello @tushar-saxena-yral,  
Welcome to the forum!

Our GatewayMT doesn’t support globally public buckets, but you can use a linksharing service instead:

> **[Creating Public Buckets and Embedding Content - Storj Docs](https://storj.dev/dcs/buckets/public-buckets)**
>
> Guide on generating a LINKSHARINGKEY to make Storj buckets public and embedding content from the buckets.

See also:

> **[Hosting a Static Website - Storj Docs](https://storj.dev/dcs/code/static-site-hosting)**
>
> Guide on hosting a static website on Storj using Uplink CLI and Linksharing service, covering website setup, DNS configuration, and custom domain usage.

> [@Is there a way to get the share link of an uploaded file through an api call?](https://forum.storj.io/t/topic/21538/11):
>
> There are currently no limits set up. We didn’t want to constrain users, but if we detect abuse, w will most likely impose some reasonable limits (like the number of access grants you can register with the same macaroon head). Also, if you’re looking for more examples of how to interact with Storj-hosted Auth Service, take a look at this gist: [How to register an access grant @ Auth Service via HTTP(S) and DRPC(S) · GitHub](https://gist.github.com/amwolff/8dfa1a0c24d9023b2398564d2822055b). They should be fairly easily portable into code (at least HTTP-based one…

> [@Is there a way to get the share link of an uploaded file through an api call?](https://forum.storj.io/t/topic/21538/3):
>
> I made a very simple example to do this using Go, this uses the uplink library as Alexey linked above: [share file programatically using storj linksharing service · GitHub](https://gist.github.com/halkyon/491041586f56a3f8f1150fa1fd4769e3) For Android, looks like you can at least create the restricted access grant with this snippet: [GitHub - storj/uplink-android: Storj network Android library](https://github.com/storj/uplink-android#sharing-content) then post it to https://auth.storjshare.io/v1/access with request body like {"access\_grant":"abc123","public":true} to get an access key for Linksharing. The response will …

The only way to share an object via S3 is using a presigned URLs:

> **[Storj Data Access Methods - Storj Docs](https://storj.dev/learn/concepts/security-models#presigned-ur-ls)**
>
> Explore Storj's diverse data access solutions from public Linksharing to encrypted S3 credentials, ensuring optimal security for your storage needs.

See also:

> **[Creating and Using Presigned URLs with Storj - Storj Docs](https://storj.dev/dcs/api/s3/presigned-urls)**
>
> Step-by-step guide on creating and using presigned URLs for unauthenticated object access using Storj's S3-compatible gateway. Includes Python scripting instructions.

> **[AWS SDK Nodejs - Storj Docs](https://storj.dev/dcs/code/aws/nodejs#6-get-url-that-points-to-an-object)**
>
> Make the world your data center

> **[Generating Presigned URLs in Serverless Cloud with Go - Storj Docs](https://storj.dev/dcs/code/presigned-urls-serverless-cloud)**
>
> A guide to creating presigned URLs in a serverless cloud using Go, including setup and implementation with AWS Lambda functions.

---

_[View the full topic](https://forum.storj.io/t/url-for-the-object-with-public-read-acl/28681)._
