Accessing rest web service from web using cookies

59 Views Asked by At

suppose i hit a web service which need to be authorised, now for that i login the user and set the token in cookies so that the ajax calls can read the token and hit backend server for data.

But this would not be secure as anyone can read the cookie and make backend server calls.

what is the good way to make these calls secure?

1

There are 1 best solutions below

0
On