Parsing a RMS encrypted Word file

Rohit 1 Reputation point
2022-04-26T11:08:29.487+00:00

Hello,

I am working on a Windows standalone application. [ I can not disclose the name as per our company policy]
I installed Azure Information Protection Client.
Then I protected the Word file with the below steps:

  1. Go to File ribbon > Info tab
  2. "Protect Document" button > Restrict Access > Restricted Access
  3. Check "Restrict permission to this document" > OK
  4. Save the document > Exit the application

Now my Application tries to parse this restricted file with the below steps.

  1. Unzip the Word file
  2. Read the OOXML content and extract needed information
  3. Create an output file with this extracted information
    but the application cannot unzip the word file because it is restricted.

So my question is do we have any Microsoft API to unzip the restricted file?
is there any other way to read OOXML data from such a restricted file?

Azure Information Protection
Azure Information Protection
An Azure service that is used to control and help secure email, documents, and sensitive data that are shared outside the company.
519 questions
0 comments No comments
{count} votes