Secure way to pass parameters from front to back-end

Hi, I’m creating a website with wix and using wix-code, my question is related about how to pass values from the front-end to the back-end in a secure way. I was reading this article https://support.wix.com/en/article/wix-code-security-considerations#code-visibility . But this example takes a value from the logged user( let currentUser = wixUsers.currentUser; ) which is available at front and back-end. I would like to know how can i pass for example the vaule of a DropDownBox or a Text or a local variable in a secure way?
I mean how to do Validations and Checks wtih values that are only availbes at front side.

You simply pass this value to your backend code. If the value is in frontend, then it’s not a secret, so u can pass it normally. The check happens in backend, as u compare the value from frontend with the secret value, in backend.

Refer to the Security Considerations article for information on best practices.

Hi Yisrael, Thanks. I’m relatively new doing this, but anyway I read the Security Considerations before ask.

Hi Norby. Thanks.