Form in client side help
Answered
In&Out posted this in #help-forum
In&OutOP
Hey folks, so i have a form in client file, in that form i will send a link that is sensitive, and with actions.ts function it will send that link to database, is this safe to do or do i need to make that file server as well?
Answered by B33fb0n3
when you mean by that that you send sensitive data via a server action to the nextjs server then yes, the sensitive information is not available for others
4 Replies
In&OutOP
Just making sure if this is true
@In&Out Hey folks, so i have a form in client file, in that form i will send a link that is sensitive, and with actions.ts function it will send that link to database, is this safe to do or do i need to make that file server as well?
when you mean by that that you send sensitive data via a server action to the nextjs server then yes, the sensitive information is not available for others
Answer
sure thing