Track Who Opened a Password Protected Link: What You Can See

Hands turning a key in a padlock that secures a chain on a wooden gate post.

Written by

in

You can track who opened a password protected link only if each recipient gets a separate link, because a shared password proves only that someone knew the secret. Your link log can show when the password page loaded, when a wrong password was tried, and when a correct one was accepted, along with IP address, country and device. Password-protected files such as Excel workbooks send nothing back to you.

TL;DR:

  • A link log records visits, not people. Identity comes from giving every recipient a different link, a different password, or a sign-in.
  • Log three events separately: password page loaded, wrong password, password accepted. Only the third counts as an open.
  • Security scanners and email gateways load links before humans do, so raw click counts overstate real opens.
  • A password-protected Excel or PDF file cannot report who opened it. In 365, only the audit log of the file's storage location can.
  • Check your link's password against a breached-password list, or your log may record an attacker as a successful open.

Table of Contents

A link log records requests. For each one it can store a timestamp, an IP address, an approximate country and city, a browser and operating system, and the referring page. It cannot store a name unless something in the request carries one. If you need the build steps first, how to build a password-protected link covers them. This page covers what you can read back afterward.

To turn a log line into a person, the request has to differ by person. That means a unique link, a unique password, or a sign-in with an account you can match to someone. A shared link plus a shared password gives you none of those.

Send one link and one password to 50 recipients and you get 50 identical log lines.

Log Three Events, Not One: Password Page Loads, Failed Tries, Accepted Passwords

Most dashboards report "clicks" and stop. On a protected link, a click only means the visitor reached the password page. The events that tell you something are separate, and the OWASP Logging Cheat Sheet lists authentication successes and failures among the events an application should record.

Event What it tells you What it can't tell you
Password page loaded The link reached a device or a scanner Whether a human saw it
Wrong password entered Someone has the link but not the password, or mistyped it Whether it was the intended recipient
Password accepted Someone entered the correct string Who that someone is

The first row is the noisy one. Email security filters inspect links, and Microsoft's Safe Links is a documented example that checks URLs at click time. Other gateways fetch links before the message reaches the inbox. A scanner can load your password page but cannot enter the password, so a page load with no password attempt, from a data-center IP, is almost always a machine.

Count the third row as your "opened" number. Treat repeated rows of the second type, especially many in a short span from one IP, as someone guessing.

A small team at a desk, with one person passing a key to a colleague while others hold their own keys.

Four setups are available, and they differ in how much identity they give you.

Setup Identifies the recipient? Survives forwarding? Effort
One link, one shared password No No Minimal
One link per recipient, shared password Yes, by link No, a forwarded link still logs as the original recipient Medium
One link per recipient, one password each Yes, by link and password Partly, because the forwarder must also share the password High
Sign-in with an account Yes, by account Yes Highest, and needs an identity system

I would pick the second row for most business sharing, such as proposals, client files and price sheets. Fifty recipients means fifty short links pointing at the same destination, each named after the person it was sent to. The shared password keeps the setup simple.

Move to the third row when the content is sensitive enough that a forwarded link is a real risk. The cost is fifty passwords to manage and fifty "I lost it" emails to answer, so match the setup to the cost of a leak. For the mechanics of the password gate itself, see URL password protected: what it means and how to do it right.

Pro Tip: Before a real send, email yourself a test link through the same mail system your recipients use. Whatever gateway touches it will appear in your log with its own IP range and no password attempt. That fingerprint lets you filter the same pattern out of every real send, and it takes about two minutes.

How Many People Clicked: Raw Clicks, Unique Visitors and Successful Opens

To check how many people clicked a link, read the click counter in your shortener's analytics, then separate it into three numbers. Raw clicks count every request, including scanners and refreshes. Unique visitors collapse repeats, usually by IP address plus browser string. That is an estimate, since two people behind one office network can look like one. Successful opens count accepted passwords, and that is the figure to report.

Here is a worked example. You send a protected link to 200 people and see 340 clicks. Of those, 90 are scanner or repeat loads, 120 are password page loads from humans who never entered the password, and 130 are accepted passwords. The honest answer to "how many people opened it" is 130, and even that is a ceiling, since one person on two devices counts twice.

If your tool shows one click total and no per-event split, that number cannot answer your question. Switching away from a monthly-fee shortener is worth considering if the data you need sits behind a higher plan.

Excel, Mac and 365: Why a Password Protected File Doesn't Report Back

A password on an Excel workbook or a PDF encrypts the file. It opens on the recipient's own machine, and nothing in the file contacts you. So the owner of a password-protected Excel file cannot see who opened it, on Windows or a Mac. The same goes for a PDF opened in Preview or any other reader.

Microsoft 365 is the exception, and only through the location where the file is stored. If the workbook sits in SharePoint or OneDrive, the Microsoft Purview audit log records file access events against the signed-in account, per Microsoft's audit log documentation. Three conditions apply:

  • Admin access. Searching the audit log generally needs an administrator or a role with audit permissions, so an ordinary file owner may not be able to run it.
  • Account-based identity. The log names the account that accessed the file. A recipient who gets a copy by email attachment leaves no trace.
  • Storage location. Events are logged for the SharePoint or OneDrive copy, and the password on the file does not change that.

If you want to know who read a file, stop emailing protected files. Host the file behind a protected link, send each person their own link, and read the log. The recipient loses offline access, and you gain a record.

Is the Password Itself Safe? Where to Check for Leaked and Breached Passwords

A "password accepted" line is worthless if the password was on a breached list, because an attacker's first guess would show up as a normal open. Check it before you send.

Which website checks whether a password has leaked? Have I Been Pwned's Pwned Passwords is the standard one. It lets you search a password against a corpus of passwords exposed in real breaches.

Pwned Passwords range lookups send only the first 5 characters of a password's SHA-1 hash, so the full password never leaves your machine.

Is there a public list of breached passwords? Yes. The same service offers its Pwned Passwords data as a downloadable set, and the open-source SecLists project on GitHub collects leaked and common-password lists. Both are public, so attackers use them too. NIST SP 800-63B tells verifiers to compare new passwords against lists of commonly used and compromised values. A link password gate should do the same. If yours does not, pick a long random password yourself, such as four unrelated words or 16 random characters.

Only type a live password into a checker that uses the range method, or test a similar throwaway string instead.

Which sites require a password? Email, banking, social networks and cloud storage are the obvious ones. For shared links, you will meet password gates on cloud-storage share links, file-transfer services, private video hosts and client portals. In each of those, the "who opened it" question applies.

Privacy and Retention: What You Can Log About Visitors and for How Long

In many jurisdictions, logging opens means storing personal data. GDPR recital 30 names IP addresses among the online identifiers that can make a person identifiable, so a log full of IPs and per-recipient links is a personal data set. Some practical steps follow:

  • Tell recipients. One line in the message, such as "opens of this link are logged," covers the transparency point.
  • Set a retention limit. I would keep raw logs for 90 days and aggregate afterward. Most senders have no business purpose for indefinite storage.
  • Control where logs live. Data on a server you run is data you can delete on demand, which is simpler than asking a vendor to do it.

Get Click and Password Logs on Your Own Server With Kortli

All of this depends on the logs being detailed and yours. Kortli is a self-hosted link shortener you install on your own Linux server. It supports password-protected links, branded domains with no per-domain fee, and click analytics with geographic tracking stored on that server. You can create a separate link for each recipient, name each one, and read the results without sending visitor data to a third party.

You pay once for a license. There is no monthly fee, and your links keep working if you stop paying for anything. The caveat is that you run the server, including updates and backups. Before you rely on Kortli for the three-event view described earlier, check the spec sheet to confirm which events it records, such as failed password attempts, and compare that against your needs. Any tool you evaluate should pass the same test.

Frequently Asked Questions

Only if each recipient has a different link, password or account. With a shared link and shared password, your log shows time, IP address, country and device but nothing that names the person.

Open your shortener's click analytics and split the total into raw clicks, unique visitors and successful opens. For a password protected link, the accepted-password count is the closest figure to real opens, because scanners and repeat loads inflate raw clicks.

Can the owner of a password-protected Excel file see who opened it?

No. The password encrypts the file, and opening it happens locally with no report sent back. In Microsoft 365, an administrator can search the Purview audit log for access to the stored copy, but an emailed copy leaves no trace.

What website can I use to check if my password has been leaked?

Have I Been Pwned's Pwned Passwords checks a password against passwords exposed in real breaches. Its range lookup sends only part of a hash, so the full password stays on your machine.

Is there a public list of breached passwords?

Yes. Have I Been Pwned publishes its Pwned Passwords data for download, and the SecLists project on GitHub collects leaked and common-password lists. NIST SP 800-63B recommends checking passwords against such lists.

Sources

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *