0

I know there are similar questions but I couldn't find something that answered my question.

When a new user registers (client - server) is there a common way of protecting these details when they are sent?

At the moment I am just concatenating the username-password-timestamp then sending as Base64 to the server over https.

Alex Edwards
  • 1,613
  • 3
  • 24
  • 48

1 Answers1

1

The common and best way is https. Https already establishes a secure channel between the client and the server. You don't need anything more.

Please excuse me for the short answer. However if you really want the long answer then take a look at: How to send password securely via HTTP using Javascript in absence of HTTPS?

Community
  • 1
  • 1
olivecoder
  • 2,858
  • 23
  • 22