Title: 401 error
Last modified: August 24, 2016

---

# 401 error

 *  Resolved [WebDi](https://wordpress.org/support/users/webdi/)
 * (@webdi)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/401-error-2/)
 * Hello,
    I’m trying to use GDE on a website that is in a secured directory. In
   order for the individual to view the site, they have to provide login credentials.
   However, GDE doesn’t recognize that the document is in the same secure directory
   as the website and gives this error. “GDE Error: Error retrieving file – if necessary
   turn off error checking (401:Authorization Required)”. I would like to keep the
   documents within this directory, yet still display using GDE.
 * Any Suggestions?
 * [https://wordpress.org/plugins/google-document-embedder/](https://wordpress.org/plugins/google-document-embedder/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [danlester](https://wordpress.org/support/users/danlester/)
 * (@danlester)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/401-error-2/#post-5969170)
 * Google’s viewer is a third party service sitting on a different server to both
   your website and your end user. Therefore it needs to obtain the document entirely
   on its own terms – the fact that the user entered a password doesn’t help. Google
   would need to know the password too (but I don’t think there’s any way to provide
   that).
 * If the documents are PDFs (or can be converted to PDFs) you could try my PDF 
   Embedder plugin that doesn’t rely on any third-party service.
 * [https://wordpress.org/plugins/pdf-embedder/](https://wordpress.org/plugins/pdf-embedder/)
 * Thanks,
 * Dan
 *  Thread Starter [WebDi](https://wordpress.org/support/users/webdi/)
 * (@webdi)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/401-error-2/#post-5969201)
 * Yes, the documents are pdf’s. I’ll try the pdf embedder. Thank you for the information
   and the suggestion.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘401 error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-document-embedder_484848.svg)
 * [Google Doc Embedder](https://wordpress.org/plugins/google-document-embedder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-document-embedder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-document-embedder/)
 * [Active Topics](https://wordpress.org/support/plugin/google-document-embedder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-document-embedder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-document-embedder/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [WebDi](https://wordpress.org/support/users/webdi/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/401-error-2/#post-5969201)
 * Status: resolved