Replies: 1 comment
-
It would be more efficient to send it from the js side directly since the IPC adds a bit of an overhead. I don't know if it add security though 🤔 Maybe if you add some input validation that may work safer in a compiled language than in js? Indeed a good question... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm wondering what is the recommended way of dealing with user submitted data, say the user wants to create a new post on a feed. This data, should it go through the rust backend first and then the rust backend will submit it to some server or should the javascript frontend (specifically vite + solidjs) on the webview side submit it directly to some server where it will eventually be stored in a database?
Would it be more secure or efficient to send the data to the rust backend first?
Beta Was this translation helpful? Give feedback.
All reactions