BI Publisher generated Password Protected Pdf document becomes unlock in iOS & Mac device
Hello Team,
As per Customer requirement an endpoint has been created on GET request it will return a Pdf file. At the backend in App package a piece of code written which will generate the Pdf with the help of BI Publisher, we also add the code to make this Pdf Password Protected .
This Password Security works fine with Android & windows but when it comes to the iOS/ Mac device automatically on retendering the end point it generates the PDF Unlocked (Password Unprotected).
Code used :
Local array of string &BIPropName = CreateArrayRept("", 0);
Local array of string &BIPropValue = CreateArrayRept("", 0);
&BIPropName.Push("pdf-security");