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
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
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