35ebbb5f6e
I've asked #19775 because I was frustrated with how hard it was to find a way to fix (instead of hide) the CSP warning in Electron and I complained that even the official quick start guide wasn't compliant with the security checklist at https://electronjs.org/docs/tutorial/security. Someone helped me out with a CSP meta tag which I have later noticed is indeed mentioned in the checklist, too: https://electronjs.org/docs/tutorial/security#csp-meta-tag. I have not used the checklist one verbatim because it prevents a `script` tag from working when serving `index.html` through the `file:` protocol as the quick start does. I instead used the one the person in my issue recommended which seems to work well to me. I am not that well versed in CSP so there might be a better policy to include with the quick start, but this is what I've got for now. |
||
---|---|---|
.. | ||
about.md | ||
accessibility.md | ||
app-feedback-program.md | ||
application-architecture.md | ||
application-debugging.md | ||
application-distribution.md | ||
application-packaging.md | ||
automated-testing-with-a-custom-driver.md | ||
boilerplates-and-clis.md | ||
code-signing.md | ||
debugging-main-process-vscode.md | ||
debugging-main-process.md | ||
desktop-environment-integration.md | ||
development-environment.md | ||
devtools-extension.md | ||
electron-timelines.md | ||
electron-versioning.md | ||
first-app.md | ||
in-app-purchases.md | ||
installation.md | ||
keyboard-shortcuts.md | ||
linux-desktop-actions.md | ||
mac-app-store-submission-guide.md | ||
macos-dock.md | ||
mojave-dark-mode-guide.md | ||
multithreading.md | ||
native-file-drag-drop.md | ||
notifications.md | ||
offscreen-rendering.md | ||
online-offline-events.md | ||
progress-bar.md | ||
quick-start.md | ||
recent-documents.md | ||
repl.md | ||
represented-file.md | ||
security.md | ||
snapcraft.md | ||
support.md | ||
testing-on-headless-ci.md | ||
testing-widevine-cdm.md | ||
updates.md | ||
using-native-node-modules.md | ||
using-pepper-flash-plugin.md | ||
using-selenium-and-webdriver.md | ||
windows-store-guide.md | ||
windows-taskbar.md |