the web app I am currently working on generates a PDF file and sends to user who will use this PDF as a certificate.
My question is, how to make sure that this PDF file is impossible to be tampered by the user?
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t stop someone altering the binary form of a file they hold since they can use a byte editor to change contents. You can however ensure that the PDF tampering is detected. Look at the Digital Signature facilities of PDF or consider doing a checksum/digest yourself on the PDF and keeping that with the PDF. At any time in future you can run the checksum algorithm again to see if it has been modified.