BlogGuide
Can you see who opened a PDF? Only where it is stored
A file server, SharePoint or Google Drive can log who opened a PDF; the PDF itself and an emailed copy can't. What each log shows and where to look.
- Author
- PDF Ghost Team
- Published
- Reading time
- 7 min
On this page8 sections
- A file server shows who has the PDF open now
- Who opened it earlier is logged only after auditing is on
- Cloud drives log the accounts that open files stored there
- An emailed PDF doesn't report back
- Opening a PDF leaves the file unchanged
- The last-accessed date says when, not who
- Who opened it is not who passed it on
- What these records can't tell you
You can't find out who opened a PDF by looking at the PDF: opening a file only reads it, and a PDF has no place for readers' names. A record exists only where the file is stored or viewed, and for a copy that was downloaded or sent as an attachment, nobody can see who opened it.
| Where the PDF is | What can show who opened it | What it needs |
|---|---|---|
| A Windows file share, open right now | The list of open files on the server | Admin rights on the server |
| A Windows file share, opened earlier | Event 4663 in the server's Security log | Auditing switched on for that folder beforehand |
| SharePoint or OneDrive | Viewers on the file card, and the audit log in Microsoft Purview | Viewer info allowed by the SharePoint admin; an admin for the audit log |
| Google Drive | The Drive log events in the Admin console | A Google Workspace admin |
| Your own computer, or a copy sent by email | Nothing that names a person | No record exists |
This guide uses Microsoft's, Google's and Adobe's documentation, read on 27 November 2026, and our own test that day: opening a PDF in Microsoft Edge changed nothing in the file.
A file server shows who has the PDF open now
The usual reason to ask "who has this PDF open" is a shared drive: you try to replace or delete a PDF, and Windows says it's open in another program. An admin on the Windows server that holds the share can list the open files. In PowerShell, the first command below shows each open file with its path, the client's user name and the client's computer, which is often an IP address; the user can also be a computer's own account, ending in $ (Microsoft, Get-SmbOpenFile). Without admin rights, it answers "Access is denied" (our test). In the window version, Computer Management lists the files under System Tools › Shared Folders › Open Files, where an admin can also close one (Microsoft, Close an Open File, an archived Windows Server page).
| To | PowerShell on the file server, as admin |
|---|---|
| See who has which file open | Get-SmbOpenFile |
| Close one by its FileId | Close-SmbOpenFile -FileId 4123 |
Closing a file someone has open can lose their unsaved changes; Microsoft warns that it "can cause data loss" (Close-SmbOpenFile). Ask the person first. These commands cover Windows file servers; a NAS has its own admin pages for open files.
Who opened it earlier is logged only after auditing is on
Windows records reads of files only when two things are set up on the server beforehand:
- The policy Audit File System is switched on, under Advanced Audit Policy Configuration › Object Access.
- The folder has an auditing entry for the accounts and the kinds of access you want to see, under the folder's Properties › Security › Advanced › Auditing.
Then a read creates event 4663, "An attempt was made to access an object", with the account name, the file's path, the kind of access, such as ReadData, and the program that read the file (Microsoft, event 4663). The program name helps to tell a person in a PDF viewer from a backup or virus scanner. Without the auditing entry nothing is recorded: "No audit events are generated for the default file system SACLs" (Microsoft, Audit File System). So there is no history from before you switched it on.
Reads produce many events, so audit only the folders with confidential files, and make the Security log large enough to keep the events as long as you need them.
Cloud drives log the accounts that open files stored there
In SharePoint and OneDrive, Microsoft says: "When someone views your file, page, or news post, you'll see their name and picture on the file card", if the SharePoint administrator allows it (Microsoft Support, file insights). Admins can search the audit log in Microsoft Purview for the activity "Accessed file". It isn't logged again for the same user and file within five minutes. Audit (Standard) keeps the records for 180 days, and Audit (Premium) keeps SharePoint and OneDrive records for a year (audit log activities, auditing solutions).
In Google Drive, the Activity dashboard shows who viewed Google Docs, Sheets and Slides files, and Google points to the Drive audit log for auditing (Google Workspace Admin Help, Activity dashboard). For a PDF, a Workspace admin looks at the Drive log events. Google logs "Previewing a file, such as a PDF, that can't be directly opened in Docs or other Google apps" as a Download event, not as a View (Drive log events), so in that log someone who only looked at a PDF appears as a download.
These records name the account that opened or downloaded the stored file. Once someone has downloaded it, they open their copy on their own device, and the cloud drive doesn't see that.
An emailed PDF doesn't report back
When a PDF goes out as an attachment, it is opened on the recipient's device, and nothing comes back to you:
- A read receipt confirms that the email was opened; it says nothing about the attachment. Microsoft says the recipient can decline to send one and "There is no way to force a recipient to send a read receipt" (Outlook help).
- A PDF can try to contact a server when it opens, through a script, a link or a form. Acrobat and Reader can show a warning "whenever a document tries to access the Internet", and users can allow or block it (Adobe, External Content Access). So a PDF can't be relied on to report its own opening.
If you need a record of who viewed a document, share a link to a place that keeps one instead of sending the file: a logged folder, or a system where readers view the document without downloading it. How to protect a PDF compares that approach with passwords and marked copies.
Opening a PDF leaves the file unchanged
The PDF specification lists what a PDF's document information holds: title, author, subject, keywords, the creating program, the producer, and the creation and modification dates (ISO 32000-1, section 14.3.3). None of these is about readers. Who created this PDF? explains what these fields can and can't tell you.
On 27 November 2026 we made a 2-page PDF with made-up content, opened it in the PDF viewer of Microsoft Edge 158 on Windows 11, and compared the file before and after. For the test we had set its last-accessed date back by two days.
| What we compared | Before opening | After opening |
|---|---|---|
| SHA256 fingerprint of the file | f6b77413d5f7610c… | f6b77413d5f7610c…, the same |
| Size | 1,769 bytes | 1,769 bytes |
| Modified | 27 Nov, 08:05 | 27 Nov, 08:05 |
| Last accessed | 25 Nov, 08:06 (set back) | 27 Nov, 08:06, when Edge read the file |
Opening the same file with the PDF library PyMuPDF 2.2 gave the same result. Only the last-accessed date moved, and Windows keeps that date in the file system, not in the PDF.
The last-accessed date says when, not who
Windows can store a last-accessed time for each file. It is a time without a name, and it can be late or not kept at all:
- NTFS "delays updates to the last access time for a file by up to 1 hour after the last access" (Microsoft, File Times).
- Since Windows 10 version 1803, Windows can manage the setting itself. In that mode, updates are always off on server systems, and on a PC they depend on the size of the system drive (Microsoft, MS-FSA product behavior).
To see what your PC does, ask Windows. On our test PC this worked without admin rights:
| To check | Command |
|---|---|
| Whether this PC updates last-accessed times | fsutil behavior query disablelastaccess |
On our test PC it answered "System Managed, Last Access Time Updates ENABLED", which is why the date moved in our test. On a file server in the same mode, it wouldn't have.
Who opened it is not who passed it on
Often the question behind "who opened my PDF" is who passed it on, and an access log only narrows that down to the people who could have. Separate marked copies answer a different question for a copy that turns up: whose copy it was. Found a leaked PDF? walks through that check with Protect a PDF and a leak check in PDF Ghost. PDF Ghost doesn't record who opens a copy either.
What these records can't tell you
- Who sat at the keyboard. A log names an account and a computer or IP address, and a shared or borrowed login names the wrong person.
- What happened after a download. Copies, forwards, prints, screenshots and photos of the screen leave nothing in the server's log.
- Anything from before logging was switched on, or older than the log keeps.
- Whether someone read it. An event shows that a file was opened, not for how long or how closely.
Tags
- file-sharing
- access-control
- audit-log
- windows-file-server
- sharepoint
- google-drive
- pdf-metadata
- document-tracking