miinideckmiinideck
PricingUse casesBlog
Sign in
Controls & plans

Can I stop someone editing an HTML file I send them?

No. An HTML file is plain text, and whoever has it can change it. What obfuscation, blocking right-click and converting to PDF each stop and don't stop, why sending a link instead of the file changes the problem, and what a link still can't do.

By miinideck·October 20, 2026·8 min read
TL;DR
  • No. An HTML file is plain text, so anyone you send it to can open it in a text editor and change it. Nothing you put inside the file can stop that.
  • Minifying, obfuscating and blocking right-click make the code harder to read. They don't stop editing: the browser has to turn the page back into readable HTML to show it, and the file can be opened without a browser at all.
  • A plain PDF can be edited too. A digitally signed PDF can show that it was changed after signing, which makes it the format for proving which version you sent.
  • The other route is to send a link instead of the file. The copy behind the link stays in your account. Recipients can still save and edit their own copy, but that doesn't change what your link shows.

You made a quiz for your class, a quote for a client, a small calculator, or a report an AI tool built for you, and it's one .html file. Just before you send it, you realise the person on the other end could open it in Notepad, change a number, and pass it on with your name still on it.

It comes up regularly. A recent r/HTML thread asks whether there is any way to make a tamper-proof HTML file, one that can't simply be opened in Notepad and changed. The poster suspects they already know the answer. The honest short answer is that you can't lock the file. What you can do is change what you send.

Can someone edit an HTML file I send them?

Yes, and it takes no skill. An HTML file is text: tags, words, maybe some CSS and JavaScript, saved with a .html extension. A browser displays it. Any text editor opens it: Notepad, TextEdit, VS Code. Find the number, change it, save.

Nothing inside the file can prevent that. Any protection you add is written into the same file, and the person holding the file can delete it along with everything else.

So "how do I lock it" doesn't have an answer. "What am I actually worried about?" does. Usually it's this: an edited version travels onward, to a colleague, a parent or another supplier, and it looks like it came from you.

Do obfuscation, disabling right-click or PDF stop it?

Each of these does something. None of them stops someone who has the file from editing it.

MethodWhat it doesWhat it stopsWhat it doesn't stop
MinifyingStrips spaces and line breaks, shortens names in the codeComfortable readingEditing. The text on the page is still there in plain words, and a code formatter puts the line breaks back
Obfuscating or "encrypting" the HTMLEncodes the page so the file looks like gibberish, with a script that decodes it when it opensSomeone skimming the file in NotepadThe browser has to decode it to show it, and the developer tools show the decoded page. It also makes the file harder for you to edit next time
Blocking right-clickA script that cancels the right-click menuRight-click → View page source, for people who don't know another wayThe keyboard shortcut for view source, Save Page As in the browser menu, turning JavaScript off, or opening the file in a text editor, which needs no browser at all
Converting to PDFTurns the page into a PDFEditing in a text editorEditing in a PDF editor. And anything interactive in the HTML is gone
A digitally signed PDFAdds a signature tied to the exact contentsUndetected changes: a reader that checks signatures can show the file was altered after signingEditing itself. It makes an edit visible to anyone who checks, and it's still a PDF, so nothing interactive survives

Minifying and obfuscating are fine for keeping casual eyes off your code. They keep honest people honest. If you're worried about the edited copy someone forwards, they don't touch that.

What if I send a link instead of the file?

When you send a file, what travels is a file, and every copy of it can be edited.

When you send a link, what usually travels is the link. Someone forwards it, and the next person opens the copy on the host, which is your copy. On a private-link host such as miinideck, the file behind a link can be replaced from the account that uploaded it and nowhere else. On paid plans you can also add a collaborator to a page, and they can push a new version of that page too. People who open the link can read it. They can't write to it.

That changes three things:

  • The original stays with you. If you spot a mistake after sending, you replace the file and the same link shows the corrected version. We covered how that works in you already sent the link, now the file changed.
  • A forwarded link shows your version. Whatever someone does to a copy on their own computer, the link still opens what you uploaded.
  • You have something to point to. If an edited copy does turn up, "the version I sent is at this link" is a quick answer.

A link on its own is unguessable and kept out of search, which covers most of what people mean by private. What it doesn't cover, mainly forwarding, is in what a secret URL gets right, and where it stops. If you also want to control who can open it, add a password. On miinideck the page isn't sent to anyone until they enter the right password, and that's a different thing from a password prompt drawn on top of a page that has already loaded. How password protection on an HTML link actually works explains the difference. Passwords are free, including on uploads made without an account (the no-signup /try page), though those have no expiry control and the password can't be changed later.

If what you actually want from the other person is changes rather than a read-only copy, turn on Review for the page. They click on the page and leave a comment pinned to that spot, without an account, and the page itself stays as you uploaded it. Review is free on every plan.

Drop an HTML file to see what it looks like as a link. You can add a password without an account. To replace the file behind the link later, or change the password, sign in first. Both come with a free account.

Try it free (no signup)

What can't a link stop?

Quite a lot, and it's better to know before you rely on it.

  • Saving a copy. Anyone who can view a page can save it. Their saved copy is theirs to edit and send on as a file. A link controls what your link shows. It doesn't take back what they saved.
  • Reading the source. Everything the browser runs, the person in front of the browser can read. If your quiz checks answers in JavaScript, the answers are in the page, link or no link. If your quote calculates a discount in the page, the formula is in the page too.
  • Screenshots and retyping. No hosting setting reaches into someone else's screen.
  • Proof. A link is a reference point, not evidence. You can replace the file behind your own link at any time, so "it's at my link" doesn't prove what you sent on a particular day. Replaced versions are kept for 30 days, not forever, so the version history isn't an archive either.

If you need to prove exactly which version someone received, use a format built for that. A digitally signed PDF is the usual one: sign it before you send it, and anyone who checks the signature can see whether it has changed since. Keep your own copy of whatever you sent, with the date.

I'm a developer. How do I stop users changing my page in the browser?

That's a different problem from this one. Anything that runs in the user's browser is theirs to change, so the protection has to live on your server, which checks everything the page sends back. This article doesn't cover it.

How to send an HTML page as a link instead of the file

  1. Sign in and upload. Upload the .html file, or a ZIP if it has separate CSS, scripts or images. Use an account: uploads without one can't be replaced later, and their password can't be changed.
  2. Copy the link. It's unguessable and kept out of search by default.
  3. Add a password and an expiry if you need them. A password is free on every plan. On Free, links expire after 7 days and one page can stay up permanently. On Solo and Studio you choose the expiry date or turn it off. Pages on the Free plan carry a "Powered by" footer that the recipient will see.
  4. Send the link, not the file. If you set a password, send it in a separate message from the link.
  5. When the file changes, replace it. In your dashboard, use Replace file on that page. The link stays the same, and the previous version is kept for 30 days, so you can switch the link back to it.

More in Controls & plans

How to Make a Shared Link Self-Destruct on a Schedule (2026)

A scheduled self-destruct retires a shared link on a date you set at upload — no reminder, no manual deletion. Here's why scheduling beats deleting by hand, how to pick the date, and what the viewer sees when the link retires.

September 6, 2026·6 min read

"A secret URL isn't real security" — what that objection gets right, and where it stops

Ask an AI assistant how to share a page privately and it will usually warn you that an unguessable URL is not real privacy. Half of that warning is correct. This is the half that isn't, the threats a random link genuinely does not cover, and the point where you should stop and put a login in front of it instead.

August 23, 2026·9 min read

The private-link controls: expiry, password, domains, analytics — and what each plan unlocks (2026)

Every lever a private link gives you — expiry, password, searchable opt-in, custom domain, white-label, analytics — what each one is for, and which are free versus paid.

August 21, 2026·3 min read

Send your own private link.

miinideck turns a single HTML file into an unguessable link with optional password and expiry. Default-private, never indexed.

See pricingTry it free →
miinideck

HTML files, finally as links — for AI builders, agencies, and consultants. Default-noindex, default-private, default-yours.

Product

  • Pricing
  • Use cases
  • Free HTML hosting
  • Try it free

Resources

  • Blog
  • Free tools
  • Featured on
  • Report abuse

Legal

  • Privacy
  • Terms
Listed onmiinideck listed on Product Huntmiinideck listed on Faziermiinideck listed on TheSaaSDirmiinideck listed on AIToolHuntmiinideck listed on LaunchNest
© 2026 miinideckMade for people who don't want their work indexed.