<p>This answer is a bit self-serving, but I'm the author of the <a href="https://plugins.craftcms.com/digital-download" rel="noreferrer">Digital Download</a> plugin. It allows you to control how and when assets are downloaded.</p>
<p>You can <a href="https://www.doublesecretagency.com/plugins/digital-download/docs/creating-a-token" rel="noreferrer">restrict</a> downloads by a time period, maximum number of downloads, or tie them to a logged-in user.</p>
<p><a href="https://i.sstatic.net/sX50W.png" rel="noreferrer"><img src="https://i.sstatic.net/sX50W.png" alt="createToken" /></a></p>

CC BY-SA 4.0
2020-08-04T02:41:24.813Z
2020-08-04T02:41:24.813Z
Lindsey D
<p>I'd like to manage access to assets with public URLs.</p>
<p>Is there a way to set permissions for anonymous users?</p>

<assets><users><permissions>
Protecting public assets
# Protecting public assets

(Asked by: username_0 on 2020-08-04)

I'd like to manage access to assets with public URLs.

Is there a way to set permissions for anonymous users?

**Tags:** assets, users, permissions

---

## 1 answers

### Answer by username_1 on 2020-08-04. Score: 5 | Accepted answer

This answer is a bit self-serving, but I'm the author of the [Digital Download](https://plugins.craftcms.com/digital-download) plugin. It allows you to control how and when assets are downloaded.

You can [restrict](https://www.doublesecretagency.com/plugins/digital-download/docs/creating-a-token) downloads by a time period, maximum number of downloads, or tie them to a logged-in user.

[![createToken](https://i.sstatic.net/sX50W.png)](https://i.sstatic.net/sX50W.png)


---

