Logodochost
  • الرئيسية
  • استكشاف
  • الأسعار
  • عن dochost
  • أسئلة شائعة
Telegram
How to Password-Protect a Page and Pick Its Link
2026/09/06

How to Password-Protect a Page and Pick Its Link

Two Pro options on the publish panel — a custom link and a password — turn a random dochost URL into dochost.co/d/team-handbook that only people with the password can read. Here is the flow end to end, including what readers see.

By default a published page gets a random slug (dochost.co/d/2d5uzqiq) and anyone with the link can open it. The publish panel has two optional fields that change both: Custom link lets you choose the slug, and Password protect puts a password prompt in front of the page. Both are Pro features. This guide walks through publishing a page with both set, then shows exactly what a reader sees.

Fill the two optional fields

On the homepage, switch to Paste Code (or drop a file), paste your Markdown or HTML, and scroll to the bottom of the panel:

  1. Custom link (optional) — type the slug you want after dochost.co/d/. Three to thirty-two characters: lowercase letters, numbers and hyphens, no leading, trailing or doubled hyphens. If it is taken, reserved, or contains a word we block (brand, banking and sign-in terms), the field tells you before you publish.
  2. Password protect (optional) — type the password readers will need. Anything goes; it is hashed before it is stored and never shown again.
  3. Pick Private under Visibility. A password-protected page can technically be listed on Explore, but there is rarely a reason to advertise a page people cannot open.
  4. Click Get my link.

Publishing from the homepage: pasting Markdown, choosing Private, typing team-handbook as the custom link and a password, then Get my link

The success panel shows the link you chose, not a random one:

Published Successfully panel with https://dochost.co/d/team-handbook, Saved to your Max account, and View Page / Copy & Close buttons

What readers see

Anyone who opens the link gets a plain gate before any content loads — no title, no preview, no dochost branding to work around:

This page is protected. Enter the password to view it. A single password field and an Unlock button.

After Unlock, the page renders normally. The unlock is remembered in that browser with a short-lived cookie, so a reader is not asked again on every visit, but the cookie never leaves the page's own host.

The unlocked Team Handbook page rendered as a normal dochost document

A wrong password just says Wrong password — try again. There is no lockout, but attempts are rate-limited, and the page body is never sent to the browser until the password is right — the gate is enforced by the server, not hidden by a script.

Things worth knowing

  • The password is set when you publish. The page's manage screen shows whether protection is On or Off under Page settings, but there is no field to change it there. To change or remove a password, republish the page — the edit flow keeps the same slug.
  • Custom links are permanent for that page. If you delete the page, the slug is freed and someone else can take it.
  • Search engines and Explore. A protected page is never indexed — the gate is all a crawler sees. Keep Visibility on Private too, or the title will still appear on Explore.
  • The MCP tools support both. From Claude, ChatGPT or Cursor, publish accepts customSlug and password on Pro, so "publish my Q3 report as a private page with a password" does the same thing without opening the site.

Page settings on the manage screen: Visibility, Search engines, dochost branding, Password protection showing On, Custom domain

On the free plan

The same two fields are on the panel, marked Pro. Typing in one opens a short upgrade card that keeps your draft — nothing you pasted is lost — and Publish free instead publishes the page without the option.

The publish panel on the free plan, with Remove dochost branding, Custom link and Password protect each carrying a Pro badge

Pro is from $4.92 a month billed yearly and also makes every link permanent; see pricing.

All Posts

Author

avatar for dochost Team
dochost Team

Categories

  • Guides
Fill the two optional fieldsWhat readers seeThings worth knowingOn the free plan

More Posts

Google Docs 'Publish to the Web' vs dochost: Sharing a Document as a Link
Guides

Google Docs 'Publish to the Web' vs dochost: Sharing a Document as a Link

Google Docs has a built-in publish button, so when do you need anything else? An honest comparison for turning a formatted document into a shareable URL.

avatar for dochost Team
dochost Team
2026/06/29
How to Connect dochost to Claude, ChatGPT or Cursor With MCP
Guides

How to Connect dochost to Claude, ChatGPT or Cursor With MCP

One URL — https://dochost.io/api/mcp — gives your AI assistant a publish tool. Here is the setup for each client, when you need an API key instead of OAuth, and how to create and rotate one.

avatar for dochost Team
dochost Team
2026/09/06
Markdown to HTML: Convert and Host in One Step
Guides

Markdown to HTML: Convert and Host in One Step

How to convert Markdown to a clean, GitHub-flavored HTML page — and get a public link for it without running a static-site generator.

avatar for dochost Team
dochost Team
2026/06/07

Newsletter

Join the community

Subscribe to our newsletter for the latest news and updates

Logodochost

الصق Markdown أو HTML من صنع الذكاء الاصطناعي. وأرسل رابطًا نظيفًا يفتحه زميلك مباشرة.

ابدأ مجانًا
المنتج
  • Telegram Bot
  • Browser Extension
  • Integrations
  • المزايا
  • الأسعار
  • خادم MCP
  • أسئلة شائعة
مصادر
  • المدوّنة
حالات الاستخدام
  • PDF to Markdown
  • Word to Markdown
  • Markdown to Word
  • CSV to Markdown
  • Markdown to Google Docs
  • Markdown to Excel
  • Markdown to HTML
  • HTML to Markdown
  • URL to Markdown
  • Markdown Preview
  • Free HTML Hosting
  • Share ChatGPT HTML
  • All tools
عن dochost
  • من نحن
  • اتصل بنا
  • سجل التغييرات
قانوني
  • سياسة ملفات تعريف الارتباط
  • سياسة الخصوصية
  • شروط الخدمة
© 2026 dochost All Rights Reserved.
Featured on Corey.ToolsFeatured on ToolDirsFazier badgeFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Wired BusinessFeatured on Wired BusinessFeatured on toolfame.comFeatured on doforai.toolsMossAI ToolsFeatured on ufind.bestFeatured on aitoolfame.comFeatured on Findly.toolsFeatured on saasfame.comFeatured on Aura++Launched on 21st Tools