How to Block pdf file with password in exchange

evan 0 Reputation points

i have done to configure mail rules in exchange server to block any attachment with password, but i still able to receive pdf file with password

Microsoft Exchange Online
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kael Yao-MSFT 37,676 Reputation points Microsoft Vendor

    Hi @evan,

    I created and encrypted a pdf file in Word, and send a message with this pdf attachment.

    The mail flow rule did block the message.

    To me I suppose the cause may be with the pdf file's format, as according to this link: Use mail flow rules to inspect message attachments in Exchange Online

    This condition matches messages with attachments that are protected by a password. Password detection only works for Office documents, .zip files, and .7z files.

    Is this issue occurring to all encrypted pdf files?

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.