Can I change the code so that the document opens in a new window after they have typed in the '

HI! I password protected 2 PDFs on my website using the password protect plugin. However, my client is asking me if I could code it so that the PDFs actually open up after typing in the given password, rather than having them land back on the page and doing a 2nd click to access the files. Is that possible?