Bug 62848 - Throw Exception for doc and docx protected by Rights Management service.
Summary: Throw Exception for doc and docx protected by Rights Management service.
Status: NEW
Alias: None
Product: POI
Classification: Unclassified
Component: HWPF (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-23 15:52 UTC by RAJAGOPAL GUDURU
Modified: 2018-12-22 17:06 UTC (History)
0 users



Attachments
Protected doc by Rights Management (70.50 KB, application/msword)
2018-10-23 15:52 UTC, RAJAGOPAL GUDURU
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RAJAGOPAL GUDURU 2018-10-23 15:52:00 UTC
Created attachment 36205 [details]
Protected doc by Rights Management

Detect and throw exception for documents protected using Rights Management Service instead of returning the content as "Permission for this document is currently restricted. This document can only be opened by using Microsoft Office 2003 or later. You can request the author of the document to send a copy that can be read using the Rights Management Add-on for Internet Explorer." for doc and empty string for docx.
Sample doc attached for reference.