# How can I restrict wp-content/uploads to members only?

**URL:** https://community.kinsta.com/t/how-can-i-restrict-wp-content-uploads-to-members-only/3274
**Category:** Questions
**Created:** [April 9, 2024, 3:26am UTC](https://community.kinsta.com/t/how-can-i-restrict-wp-content-uploads-to-members-only/3274 "2024-04-09T03:26:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Qorgyle](https://avatars.discourse-cdn.com/v4/letter/q/ebca7d/32.png) [@Qorgyle](https://community.kinsta.com/u/Qorgyle)
#### Post date: [April 9, 2024, 3:26am UTC](https://community.kinsta.com/t/how-can-i-restrict-wp-content-uploads-to-members-only/3274/1 "2024-04-09T03:26:18Z")

</div>

Hi there, I have a WP site that shoves everything into wp-content/uploads, and I’d like to restrict that folder or subset of folders to logged-in members only.

Is this possible with nginx redirects? If so, how do I do it? If not, what are my options for making my files only accessible to logged in members?

Thanks!

---

<div class="post-metadata">

### Author: ![Adrian\_L](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/adrian_l/32/2810_2.png) [@Adrian\_L](https://community.kinsta.com/u/Adrian_L)
#### Post date: [April 9, 2024, 4:05am UTC](https://community.kinsta.com/t/how-can-i-restrict-wp-content-uploads-to-members-only/3274/2 "2024-04-09T04:05:33Z")

</div>

Hi @Qorgyle 👋

Welcome to the Kinsta Community!

It should be possible to achieve this by using a plugin or making some modifications to Nginx. For example, you can check out this plugin: [Easy Digital Downloads Tutorial for WordPress (In-Depth)](https://kinsta.com/blog/easy-digital-downloads/).

For the Nginx configuration, please contact our Support team via chat for the best assistance.
