CodingKiwi
  • Home
  • About

electron

A collection of 2 posts
Creating an Electron App - Content-Security-Policy for file://
electron

Creating an Electron App - Content-Security-Policy for file://

Content-Security-Policy or short CSP is a concept to prevent certain types of attacks, for example Cross-Site Scripting (XSS). In this post I will explain how I added this kind of security in my app while using the file:// protocol To enable CSP you need to configure the web sever to
Dec 27, 2022 3 min read
Creating an Electron App - Secure core structure
electron

Creating an Electron App - Secure core structure

Electron is split into a main process and a renderer process. The main process is a Node.js environment with full operating system access, whereas the renderer process does not have access to Node.js by default. nodeIntegration: false This strict division is done on purpose for security reasons. A
Dec 27, 2022 2 min read
Page 1 of 1
CodingKiwi © 2025
  • coding.kiwi
Powered by Ghost