How do you detect which files are Password-Protected in SharePoint #191332
Unanswered
StephanieJones75
asked this question in
Programming Help
Replies: 1 comment 1 reply
-
|
Hi @StephanieJones75, Purview and eDiscovery often fail to detect these because encrypted files cannot be indexed by standard crawlers without the password or a sensitivity label. The most reliable way to do this is using a PowerShell script (specifically PnP PowerShell) to iterate through your document libraries and check the file metadata or the 'IsEncrypted' property. For a large-scale environment, you might need a third-party tool like ShareGate or a specialized security scanner that specifically looks for encryption flags in Office headers. If this helps, please Mark as Answer |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
Body
Hi everyone,
In my organization, we use SharePoint to store files (mostly .doc and .docx, but sometimes other file types as well). We have multiple SharePoint sites, each containing document libraries and folders where users create new folders or upload files.
I recently noticed that some files are protected with manual passwords, meaning users must enter a password in a pop-up window to open them.
My goal is to identify all password-protected files across SharePoint — either across all sites or within a specific site, library, or folder.
I have tried using eDiscovery and Content Explorer in Purview, but these tools did not detect any of the password-protected files.
Has anyone faced this before? What tools or methods would you recommend to locate password-protected files in SharePoint?
Thanks in advance for any advice!
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions