I created PDF files protected with password. They are uploaded to Drupal and the password is saved in a field
pdf_password in Drupal.
I would like the PDF to open them with pdf.js without having to ask for the password. For this I need to get the value of the field password
pdf_password in the file libraries/pdf.js/web/viewer.js: instead of 123 to get the value of the field password pdf_password :
parameters.password = '123';
(the pdf.js is pdf.js project by Mozilla)