{"id":332,"date":"2026-06-23T19:15:00","date_gmt":"2026-06-23T19:15:00","guid":{"rendered":"https:\/\/documentlibrary.pro\/docs\/logout-password-protected-document-library\/"},"modified":"2026-06-23T19:15:00","modified_gmt":"2026-06-23T19:15:00","slug":"logout-password-protected-document-library","status":"publish","type":"doc","link":"https:\/\/documentlibrary.pro\/es\/docs\/logout-password-protected-document-library\/","title":{"rendered":"How can I log out of a protected document library?"},"content":{"rendered":"<p>Hosted Document Library Pro uses password protection to lock private libraries, so there is no log-out button in the way you might expect. This guide explains how access ends once someone has unlocked a protected library.<\/p>\n<p><strong>Access control is available on the Advanced plan.<\/strong> Hosted libraries are protected with passwords only, so the behavior below is the same for every protected library.<\/p>\n<h2 id=\"how-access-ends\">How access ends<\/h2>\n<p>When a visitor types a correct password, their browser stores a cookie that keeps the library unlocked. They stay unlocked until that cookie expires, at which point they are effectively signed out and have to enter the password again to get back in.<\/p>\n<p>If you want people to be prompted for the password more often, set the cookie to expire after the shortest period available in your Access Control settings.<\/p>","protected":false},"excerpt":{"rendered":"<p>Password-protected libraries stay unlocked via a browser cookie. Access ends when the cookie expires and the password is needed again.<\/p>","protected":false},"menu_order":0,"template":"","meta":{"footnotes":""},"doc_category":[7],"class_list":["post-332","doc","type-doc","status-publish","hentry","doc_category-access-control"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How can I log out of a protected document library?<\/title>\n<meta name=\"description\" content=\"Password-protected libraries stay unlocked via a browser cookie. Access ends when the cookie expires and the password is needed again.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/documentlibrary.pro\/es\/docs\/logout-password-protected-document-library\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How can I log out of a protected document library?\" \/>\n<meta property=\"og:description\" content=\"Password-protected libraries stay unlocked via a browser cookie. Access ends when the cookie expires and the password is needed again.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/documentlibrary.pro\/es\/docs\/logout-password-protected-document-library\/\" \/>\n<meta property=\"og:site_name\" content=\"Document Library Pro\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/logout-password-protected-document-library\\\/\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/logout-password-protected-document-library\\\/\",\"name\":\"How can I log out of a protected document library?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#website\"},\"datePublished\":\"2026-06-23T19:15:00+00:00\",\"description\":\"Password-protected libraries stay unlocked via a browser cookie. Access ends when the cookie expires and the password is needed again.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/logout-password-protected-document-library\\\/#breadcrumb\"},\"inLanguage\":\"es-ES\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/logout-password-protected-document-library\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/logout-password-protected-document-library\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/documentlibrary.pro\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How can I log out of a protected document library?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#website\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/\",\"name\":\"Document Library Pro\",\"description\":\"Searchable document libraries for any website\",\"publisher\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/documentlibrary.pro\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es-ES\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#organization\",\"name\":\"Document Library Pro\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es-ES\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/favicon-512.png\",\"contentUrl\":\"https:\\\/\\\/documentlibrary.pro\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/favicon-512.png\",\"width\":512,\"height\":512,\"caption\":\"Document Library Pro\"},\"image\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"description\":\"Document Library Pro is hosted document library software that lets you publish searchable, filterable libraries of PDFs, documents and resources on any website or platform.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How can I log out of a protected document library?","description":"Password-protected libraries stay unlocked via a browser cookie. Access ends when the cookie expires and the password is needed again.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/documentlibrary.pro\/es\/docs\/logout-password-protected-document-library\/","og_locale":"es_ES","og_type":"article","og_title":"How can I log out of a protected document library?","og_description":"Password-protected libraries stay unlocked via a browser cookie. Access ends when the cookie expires and the password is needed again.","og_url":"https:\/\/documentlibrary.pro\/es\/docs\/logout-password-protected-document-library\/","og_site_name":"Document Library Pro","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/documentlibrary.pro\/docs\/logout-password-protected-document-library\/","url":"https:\/\/documentlibrary.pro\/docs\/logout-password-protected-document-library\/","name":"How can I log out of a protected document library?","isPartOf":{"@id":"https:\/\/documentlibrary.pro\/#website"},"datePublished":"2026-06-23T19:15:00+00:00","description":"Password-protected libraries stay unlocked via a browser cookie. Access ends when the cookie expires and the password is needed again.","breadcrumb":{"@id":"https:\/\/documentlibrary.pro\/docs\/logout-password-protected-document-library\/#breadcrumb"},"inLanguage":"es-ES","potentialAction":[{"@type":"ReadAction","target":["https:\/\/documentlibrary.pro\/docs\/logout-password-protected-document-library\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/documentlibrary.pro\/docs\/logout-password-protected-document-library\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/documentlibrary.pro\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/documentlibrary.pro\/docs\/"},{"@type":"ListItem","position":3,"name":"How can I log out of a protected document library?"}]},{"@type":"WebSite","@id":"https:\/\/documentlibrary.pro\/#website","url":"https:\/\/documentlibrary.pro\/","name":"Document Library Pro","description":"Bibliotecas de documentos con b\u00fasqueda para cualquier sitio web","publisher":{"@id":"https:\/\/documentlibrary.pro\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/documentlibrary.pro\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es-ES"},{"@type":"Organization","@id":"https:\/\/documentlibrary.pro\/#organization","name":"Document Library Pro","url":"https:\/\/documentlibrary.pro\/","logo":{"@type":"ImageObject","inLanguage":"es-ES","@id":"https:\/\/documentlibrary.pro\/#\/schema\/logo\/image\/","url":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/favicon-512.png","contentUrl":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/favicon-512.png","width":512,"height":512,"caption":"Document Library Pro"},"image":{"@id":"https:\/\/documentlibrary.pro\/#\/schema\/logo\/image\/"},"description":"Document Library Pro es un software de biblioteca de documentos alojada que le permite publicar bibliotecas con b\u00fasqueda y filtros de PDF, documentos y recursos en cualquier sitio web o plataforma."}]}},"_links":{"self":[{"href":"https:\/\/documentlibrary.pro\/es\/wp-json\/wp\/v2\/doc\/332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentlibrary.pro\/es\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/documentlibrary.pro\/es\/wp-json\/wp\/v2\/types\/doc"}],"version-history":[{"count":0,"href":"https:\/\/documentlibrary.pro\/es\/wp-json\/wp\/v2\/doc\/332\/revisions"}],"wp:attachment":[{"href":"https:\/\/documentlibrary.pro\/es\/wp-json\/wp\/v2\/media?parent=332"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/documentlibrary.pro\/es\/wp-json\/wp\/v2\/doc_category?post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}