question

Pepijn-9712 avatar image
0 Votes"
Pepijn-9712 asked tomjebo answered

Is the ‘ProtectInClient’ property officially supported and safe to use in WOPI Excel?

Hi,

We are looking to restrict copy functionality in WOPI Excel read-only modus. We tested and found that the ‘ProtectInClient’ currently works on WOPI production which blocks copy for end users. However, the available documentation on this property seems to be contradicting.

This property is currently listed without any remarks at: https://docs.microsoft.com/en-us/openspecs/office_protocols/ms-wopi/4b1d38ff-0d6a-42e4-8901-175b3c3c5890

Looking at the documentation on wopi.readthedocs.io the property is listed under the unused and future properties:
https://wopi.readthedocs.io/projects/wopirest/en/latest/files/CheckFileInfo.html?highlight=protectinclient#term-protectinclient

Can we safely use and rely on this spec to be working on WOPI production?

Also, is there an ETA on the ‘CopyPasteRestrictions” property as pointed out in readthedocs and will this replace the ‘ProtectInClient’ property in the future?

openspecs-office
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Thank you for your question. One of our engineers will respond soon.

Mike Bowen

Escalation Engineer - Microsoft Open Specifications

0 Votes 0 ·

Hi Pepijn-9712,

I'll check on these for you. In the MS-WOPI specification there is a behavior note that says:

<101> Section 3.3.5.2.1.2: SharePoint Server 2013 and SharePoint Server 2016 do not support the
ProtectInClient field.

I will check on Sharepoint Server 2019 to make sure this still holds and if the ProtectInClient variable has an effect on Excel web app's behavior for Office Online Server.

Best regards,
Tom Jebo
Sr Escalation Engineer
Microsoft Open Specifications Support

0 Votes 0 ·

Hi @tomjebo, @MikeBowen-1599

Thanks a lot.

Please let me know if the 'ProtectInClient' spec is safe to use in a WOPI/Office online production environment, hence, officially supported.

Best,
Pepijn

0 Votes 0 ·
AmericanLifeguard-0638 avatar image
0 Votes"
AmericanLifeguard-0638 answered

thank you for question, and also give the solution

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

tomjebo avatar image
0 Votes"
tomjebo answered

Hi Pepijn,


ProtectInClient is a confirmed feature used by Excel web app for Office Online Server and we have no immediate plans to deprecate or remove it as a feature of the Office web clients. CopyPasteRestrictions is not implemented for the Office Online Server on-premises product and we have no plans immediately to include this feature.


Thanks,
Tom

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.