Comments (3)
Haven't been checking github - @sudhakar3697 you can do that, but it's slower and also is less secure. Anybody with network access can access HTTP, while only those with file access can access the socket. Theoretically a webpage could POST to http://localhost:8000 and they'd hit your server.
from electron-with-server-example.
@jlongster Could you give your suggestions?
from electron-with-server-example.
@sudhakar3697 The idea of this repo is to avoid using a web server for communication with the UI, but rather use IPC instead.
from electron-with-server-example.
Related Issues (10)
- Sugesstion: Add a TL;DR section HOT 1
- The renderer's node-ipc works in the {contextIsolation: true} ?
- How do you secure the socket?
- Windows Server run C
- Just a heads up about the node-ipc package HOT 1
- In 2023, how does it compares to native IPC from electron? HOT 1
- ENOENT when running on windows HOT 3
- use cluster in server-ipc HOT 1
- feature request: Webpack example HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-with-server-example.