PD4ML v4 › Forums › PD4ML v3 Archived Forums (Read Only) › Troubleshooting › pd4ml:permissions This topic has 0 replies, 1 voice, and was last updated Jun 28, 201719:17:14 by Anonymous. Viewing 1 post (of 1 total) Author Posts Anonymous June 28, 2017 at 19:17 #27155 I wanted to use tag to prevent printing, modifying, saving etc and for some reason it is not working. In particular, I wanted to prevent saving the PDF created. My code was like <br /> <pd4ml:permissions<br /> password="empty"<br /> rights="-2581"<br /> strongEncryption="false" /><br /> I got rights = -2581 after computing 0xffffffff ^ PD4Constants.AllowCopy ^ PD4Constants.AllowContentExtraction ^ PD4Constants.AllowPrint<br /> which gave -2581 Do you guys find why it’s not working as expected? Is ‘PD4Constants.AllowCopy’ same as saving the PDF? What would be the correct “rights” integer value to preventing the PDF to be saved? Thanks a lot for your pointers and help. I appreciate. Author Posts Viewing 1 post (of 1 total) The forum ‘Troubleshooting’ is closed to new topics and replies.