# EDIT: Locking PDF Download links?

**URL:** <https://www.patreondevelopers.com/t/edit-locking-pdf-download-links/3789>\
**Category:** Wordpress Plugin\
**Created:** [October 16, 2020, 2:27pm UTC](https://www.patreondevelopers.com/t/edit-locking-pdf-download-links/3789 "2020-10-16T14:27:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Papermancer\_Miniatur](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@Papermancer\_Miniatur](https://www.patreondevelopers.com/u/Papermancer_Miniatur)\
**Post date:** [October 16, 2020, 2:27pm UTC](https://www.patreondevelopers.com/t/edit-locking-pdf-download-links/3789/1 "2020-10-16T14:27:26Z")

</div>

So when I try to update a piece of media in my library to be a certain patron tier and above only, it doesn’t seem to be working. I hit the update button and the tier level doesn’t save, instead it resets to “everyone.”

I am trying to set it up so my download links only work for patrons of a certain tier and above.

Am I doing something wrong? Or is this a pro only feature?

Please help!

---

<div class="post-metadata">

**Author:** ![Papermancer\_Miniatur](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@Papermancer\_Miniatur](https://www.patreondevelopers.com/u/Papermancer_Miniatur)\
**Post date:** [October 19, 2020, 8:57pm UTC](https://www.patreondevelopers.com/t/edit-locking-pdf-download-links/3789/2 "2020-10-19T20:57:19Z")

</div>

I actually figured out that I am able to use the numeric field in attachment details when I click on my media to lock it behind tiers properly. Although, if I click on advanced details I still have the issue where it does not update, and stays set to everyone there even though it is properly locked behind the tier and the non-advanced details section stays at what I set it at. I am very confused by why this is happening, but if it works it works I suppose.

However, I also figured out this only works for images. My original intention was to use the media locking to hopefully lock some PDF download links by patron tier. Does anyone know a good way to do this? I am quite new to the whole website building thing and can’t seem to find anything about this online.

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [October 20, 2020, 4:26am UTC](https://www.patreondevelopers.com/t/edit-locking-pdf-download-links/3789/3 "2020-10-20T04:26:08Z")

</div>

It is indeed true that it only works for images. There’s a plan to allow other files like pdfs, podcast audios etc to get locked by file locking, but it has a few months to go yet. However if you are technically knowledgeable enough in WP/PHP or you have someone who can help you for that, you can do it via modifications to the plugin behavior using hooks/filters until the feature is officially released.

---

<div class="post-metadata">

**Author:** ![Papermancer\_Miniatur](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@Papermancer\_Miniatur](https://www.patreondevelopers.com/u/Papermancer_Miniatur)\
**Post date:** [October 20, 2020, 5:33pm UTC](https://www.patreondevelopers.com/t/edit-locking-pdf-download-links/3789/4 "2020-10-20T17:33:09Z")

</div>

Gotcha. Thanks for the info. I’ll see what I can figure out for now and keep my eyes open for when that goes live.

---

<div class="post-metadata">

**Author:** ![Freeman\_Delusion](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/freeman_delusion/32/1744_2.png) [@Freeman\_Delusion](https://www.patreondevelopers.com/u/Freeman_Delusion)\
**Post date:** [July 10, 2021, 1:14am UTC](https://www.patreondevelopers.com/t/edit-locking-pdf-download-links/3789/5 "2021-07-10T01:14:08Z")

</div>

I have the same issue, would like to make the thousands of pdf’s on the website Patreon access only. Has this new application you mentioned been developed yet? Thanks.

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [July 13, 2021, 11:53am UTC](https://www.patreondevelopers.com/t/edit-locking-pdf-download-links/3789/6 "2021-07-13T11:53:30Z")

</div>

General file locking hasnt been implemented yet. If you have programming experience, you could do it before it is released on our side.
