Javascript client side login, how to authenticate server side?

If you are then you can pass some kind of secret user identifier (or password) to the server. The server can perform a check to see that everything is ok and allow you to execute your calls to the private server apis.

If your authentication is done by javascript without going to the server you are doing it wrong. Any browser code can be tampered with easily. You cannot trust code run in the browser.

The best practice would be to send authentication down to the server and authenticate there. Based on that, you can do things like use a token to verify against the server, or even just send the credentials each time.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions