how to detect AIP labelling in javascript?

William 25 Reputation points
2025-01-23T09:40:48.8633333+00:00

Hi, I'm tasked with developing an Outlook web addin so that when composing an email, the addin needs to distinguish whether the attached document (Office file or PDF file) is:

  • AIP labelled/encrypted
  • or password protected
  • or not.

As reminder, Outlook web addin runs in Javascript.

so have a few questions:

  1. is AIP label a wrapping around the file, or just a header added to the header of the file?
  2. if AIP label is a wrapping around the file, since password protecting is also a wrapping around the file, then when we both AIP label and password protect an Office or PDF file, will Microsoft always first wrap password then AIP, or always first wrap AIP then password, or may wrap in either order?
  3. just in case, do you have any suggestion how to detect whether or not a document is AIP labelled, in Javascript?

Thanks!

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,216 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,450 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.