ng2-pdfjs-viewer icon indicating copy to clipboard operation
ng2-pdfjs-viewer copied to clipboard

iframe sandbox issue

Open alexsunwei opened this issue 5 years ago • 0 comments

I could see that the ng2-pdfjs-viewer create a embedded iframe to help render PDF. However, for security reason ,we have requirement to sandbox all iframe, is there a way that I could add sandbox attribute in the ng2-pdfjs-viewer generated iframe? I would like add an attribute: sandbox="allow-forms allow-scripts allow-same-origin allow-modals"

alexsunwei avatar Mar 23 '20 15:03 alexsunwei