In Electron, security is essential, so we use the contextBridge in Preload.js to expose our PersonManager functions to the renderer process securely. This prevents any unauthorized access and keeps our data safe.
So isn't it bad practice to put the DBManager to public, exposing it to the renderer. I thought the purpose of bridge was to make it more secure and use IPC?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
So isn't it bad practice to put the DBManager to public, exposing it to the renderer. I thought the purpose of bridge was to make it more secure and use IPC?