Title: Hide Document URL / Path
Last modified: May 18, 2017

---

# Hide Document URL / Path

 *  Resolved [whitejackdaw](https://wordpress.org/support/users/whitejackdaw/)
 * (@whitejackdaw)
 * [9 years ago](https://wordpress.org/support/topic/hide-document-url-path/)
 * My website has a public and private section. When users in the private section
   click on a document in Document Gallery, then the document opens in a new window,
   which is fine. However, that document URL can be shared with anyone, even people
   who have not access to the private section. How can I hide the document URL /
   path of any document in the Document Gallery?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [9 years ago](https://wordpress.org/support/topic/hide-document-url-path/#post-9192835)
 * Hi whitejackdaw,
 * I apologize for not replying to your question sooner! I could have sworn I typed
   a response to this… Maybe I just didn’t click submit after typing…
 * Anyway, unfortunately there is nothing that DG can do to prevent unauthenticated
   access to your attachments. There are some plugins I’ve seen in the past that
   supported private attachments, but none of the ones I remember seem to have been
   updated in years.
 * -Dan

Viewing 1 replies (of 1 total)

The topic ‘Hide Document URL / Path’ is closed to new replies.

 * ![](https://ps.w.org/document-gallery/assets/icon.svg?rev=983329)
 * [Document Gallery](https://wordpress.org/plugins/document-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/document-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/document-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/document-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/document-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/document-gallery/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/hide-document-url-path/#post-9192835)
 * Status: resolved