I hope this is the right site for this question...
I tutor in my spare time, and recently I downloaded a past GCSE exam paper and was attempting to edit the pdf- to select just a few pages to send to my student. Unfortunately, I could not do so because the pdf is password protected for editing.
Perhaps this is a silly question, but I am wondering how this works? Where is the security status of the pdf kept when I download it? What exactly is it that I am downloading when I click download for the pdf? I presume there is some code that describes the pdf, security etc as well as its contents. Is there a way for me to view where this is? Where is the 'password' stored? Presumably it is somewhere among the code describing the pdf, so that my computer can check against it when I try to gain access? But then how can the password be stored in code without me being able to decode what it is?
Sorry if some of these questions are basic. I don't have much of a formal background in computer science.
EDIT: Could the down-voters please tell me what is wrong with the question? Is it not suitable for the site? Is there a way I can improve it?