TagSpaces is an offline, open source, document manager with tagging support
chore: restricting the iframe for the file viewer
Ilian Sapundshiev11a3c91118fc
diff --git a/src/renderer/components/FileView.tsx b/src/renderer/components/FileView.tsxindex 3c342475b..28c369290 100644--- a/src/renderer/components/FileView.tsx+++ b/src/renderer/components/FileView.tsx@@ -246,7 +246,7 @@ function FileView(props: Props) {zIndex: 3,border: 0,}}- allow="clipboard-write 'src'; fullscreen 'src'"+ allow="clipboard-write 'src'; fullscreen 'src'; camera 'none'; microphone 'none'; geolocation 'none'; payment 'none'"referrerPolicy="no-referrer"src={fileOpenerURL}sandbox="allow-same-origin allow-scripts allow-modals allow-downloads"