A current electron app template with the most popular frameworks, designed and built with security in mind. Once cloned, install the dependencies for the repo by running the following commands (you do not have to run the first command if your command line is already inside the newly cloned repository) Only load secure content (But the developer is responsible for loading secure assets only) Do not enable node.js integration for the remote content. Enable context isolation for the remote content. Handle session permission requests from remote content. Do not disable web security. Define a content security policy. Do not set allowRunningInsecureContent to true. Do not enable experimental features. Do not use enableBlinkFeatures. Do not use allow popups. <webview> verify options and params. Disable or limit navigation. Disable or limit creation of new windows. Do not use openExternal with untrusted content. Disable remote module.

Features

  • Only load secure content
  • Do not enable node.js integration for remote content
  • Handle session permission requests from remote content
  • Define a content security policy
  • Disable or limit creation of new windows
  • Use a current version of electron

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow secure-electron-template

secure-electron-template Web Site

Other Useful Business Software
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of secure-electron-template!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Software Development Software, JavaScript Build Tools

Registered

2022-09-29