Hi I am from ThermoFisher Scientific and we bought License from ASPOSE but not able to get how to get the Proper support from Aspose support team.
Please let us know what is the proper channel to get the support for Licensed user, we also paid for support too.
Here is Problem we are facing:
we are trying to set expiration to PDF File and do not want the file contents to be read by the users using any Other Application. Below is the code used for setting the expiration. File gets closed in Adobe Reader but can be accessed normally via Chrome/Edge etc. Please provide us with fix so that expired file cannot be opened. Also please let us know if there is any other possible way to avoid users from reading the file contents using any application.
Document doc = new Document();
int year = date1.getYear();
“// Get the current date and time\n” +
“var rightNow = new Date();\n” +
“var endDate = new Date(2021, 03, 01);\n” +
“if(rightNow > endDate)\n” +
“app.alert(“This Document has Expired.”);\n” +
doc.save(dataDir + “PDFExpiry.pdf”);