How to send data to server from client in secure way?


#1

Hello Sir,

My apps are related client server . how to send data to server from client in secure way?

Please suggest me…


#2

That’s a pretty vague question. What does “secure” mean in your situation? Do you want to ensure that nobody with a packet sniffer in the middle of the connection could read the data? Use https. Do you want to avoid rogue clients being able to request the data? Use some sort of client authentication (I prefer JWT). If you can phrase the question in terms of what specific threat models you’re concerned about, it will be easier for people to answer.