# How do I get the browser URL of a file of which I know the bucket address of via CLI?

**URL:** <https://forum.storj.io/t/how-do-i-get-the-browser-url-of-a-file-of-which-i-know-the-bucket-address-of-via-cli/12040>\
**Category:** Product Discussions\
**Tags:** tardigrade, access-grants\
**Created:** [February 28, 2021, 1:31pm UTC](https://forum.storj.io/t/how-do-i-get-the-browser-url-of-a-file-of-which-i-know-the-bucket-address-of-via-cli/12040 "2021-02-28T13:31:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![folaht](https://storj.bcdn.literatehosting.com/letter_avatar/folaht/32/6_22734026db12803ebb3e059622ac3534.png) [@folaht](https://forum.storj.io/u/folaht)\
**Post date:** [February 28, 2021, 1:31pm UTC](https://forum.storj.io/t/how-do-i-get-the-browser-url-of-a-file-of-which-i-know-the-bucket-address-of-via-cli/12040/1 "2021-02-28T13:31:31Z")

</div>

And is this the correct category for Tardigrade user questions?

---

<div class="post-metadata">

**Author:** ![nerdatwork](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/nerdatwork/32/1135_2.png) [@nerdatwork](https://forum.storj.io/u/nerdatwork)\
**Post date:** [February 28, 2021, 1:59pm UTC](https://forum.storj.io/t/how-do-i-get-the-browser-url-of-a-file-of-which-i-know-the-bucket-address-of-via-cli/12040/2 "2021-02-28T13:59:46Z")

</div>

Welcome to the **forum** @folaht!

Even if it is not the right category, someone from support or other regulars can categorize it properly. You can ask away your questions.

---

<div class="post-metadata">

**Author:** ![folaht](https://storj.bcdn.literatehosting.com/letter_avatar/folaht/32/6_22734026db12803ebb3e059622ac3534.png) [@folaht](https://forum.storj.io/u/folaht)\
**Post date:** [February 28, 2021, 2:02pm UTC](https://forum.storj.io/t/how-do-i-get-the-browser-url-of-a-file-of-which-i-know-the-bucket-address-of-via-cli/12040/3 "2021-02-28T14:02:24Z")

</div>

Thank you!  
I could have been at the wrong forum for all I know.  
After all, it’s the **storj** forum, not the tardigrade forum.

---

<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:** [March 1, 2021, 5:29am UTC](https://forum.storj.io/t/how-do-i-get-the-browser-url-of-a-file-of-which-i-know-the-bucket-address-of-via-cli/12040/4 "2021-03-01T05:29:29Z")

</div>

You can use the command `uplink share --url` for the known path, i.e.

```auto
uplink share --url sj://mybucket/mysite/wondeful.png

```

You also can configure it as a static web-site with your own custom domain:

> [@\[UPDATE\] We've launched Linkshare short URLs and static site hosting!](https://forum.storj.io/t/update-weve-launched-linkshare-short-urls-and-static-site-hosting/10778):
>
> uplink share has a few new flags that makes sharing objects (and hosting websites) even easier! This feature is production live on [uplink v1.19.4](https://github.com/storj/storj/releases/tag/v1.19.4)! Here are the new uplink capabilities: uplink share \<path\> creates an access grant uplink share --register \<path\> creates and registers an access grant. It uses our public --auth-service= “[https://auth.tardigradeshare.io](https://auth.tardigradeshare.io)” by default. uplink share --url \<path\> generates a shorter, access key-based URL. It will also --register and set the access key…

---

<div class="post-metadata">

**Author:** ![folaht](https://storj.bcdn.literatehosting.com/letter_avatar/folaht/32/6_22734026db12803ebb3e059622ac3534.png) [@folaht](https://forum.storj.io/u/folaht)\
**Post date:** [March 1, 2021, 7:25am UTC](https://forum.storj.io/t/how-do-i-get-the-browser-url-of-a-file-of-which-i-know-the-bucket-address-of-via-cli/12040/5 "2021-03-01T07:25:03Z")

</div>

I see.  
I am beginning to understand that the seemingly randomly generated URL is not so random after all and will not be changed after resharing.

---

<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:** [March 1, 2021, 8:19am UTC](https://forum.storj.io/t/how-do-i-get-the-browser-url-of-a-file-of-which-i-know-the-bucket-address-of-via-cli/12040/6 "2021-03-01T08:19:39Z")

</div>

Yes, it’s not random, it includes macaroons:

> **[Flexible File Sharing With Macaroons](https://storj.io/blog/2019/05/flexible-file-sharing-with-macaroons/)**
>
> Sharing is a vital piece of any online storage system. Or, to be more precise, access control is a vital piece of such systems. When you store a file, you need to be able to designate whether other people or automated agents are allowed to retrieve...

  
You can change it for the same object, if you would use a different base access grant from the satellite UI or change some permissions, for example - time-based like `--not-after` or/and `--not-before` in the `uplink share` command.
