I have successfully integrated Office Online Server for SharePoint Server 2016 and successfully open documents in office online but there is option to edit in browser or open in word option which makes users having edit permission can edit the document.
But my requirement is to give them only read option to those document not edit. So that they can only read in browser. And my question is how to remove edit in browser or open in word option??