How to Control File Previews with IRM Enabled in SharePoint Server 2019 Modern UI

PratikSavla 25 Reputation points
2024-10-09T12:22:44.64+00:00

We have enabled Information Rights Management (IRM) on a document library in SharePoint Server 2019. In the modern UI, users are able to preview files and images even though they are IRM-protected, and the previews are not encrypted.

We would like to control these previews by either:

  1. Displaying a template instead of the actual file during preview, or
  2. Adding watermarks or some form of overlay to the file preview to reinforce protection.

Is there a way to achieve this in SharePoint Server 2019, and if so, what are the recommended approaches or configurations for this?

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,622 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,968 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. RaytheonXie_MSFT 36,406 Reputation points Microsoft Vendor
    2024-10-10T02:20:37.9466667+00:00

    Hi @PratikSavla,

    Information Rights Management (IRM) policies protect sensitive content from unauthorized users by preventing users from printing or saving copies of a file. Currently there is no such function to display a template file using IRM.

    As a workaround, you could add the related column as a label in information management policy to document content type, when you open, download or print the file using this content type, the label will exist.

    For detailed information, please refer to follwoing article, this is a sample about displaying version column, you could change it to createdby column.

    https://www.ilikesharepoint.de/2014/06/sharepoint-display-sp-version-number-in-a-word-document/


    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.


  2. RaytheonXie_MSFT 36,406 Reputation points Microsoft Vendor
    2024-10-10T02:24:59.67+00:00

    Hi @PratikSavla,

    Information Rights Management (IRM) policies protect sensitive content from unauthorized users by preventing users from printing or saving copies of a file. Currently there is no such setting to display a template when opening a file.

    As a workaround, you could add the related column as a label in information management policy to document content type, when you open, download or print the file using this content type, the label will exist.

    For detailed information, please refer to follwoing article, this is a sample about displaying version column, you could change it to createdby column.

    https://www.ilikesharepoint.de/2014/06/sharepoint-display-sp-version-number-in-a-word-document/


    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.

    0 comments No comments

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.