html page authentication

Asked

Viewed 203 times

0

Worked with Webforms in visual studio, but now I will work with HTML, css, javascript I will consume a webservice with ajax, so all programming will be on the client side there will be no programming on the server. My question is how to authenticate the pages after logging in, I read about Sessionstorage(Html5), localStorage(Html5), cookies, angular js and more I can’t remember now. What is the best option or an option that gives me security? If you have an example I really appreciate it.

  • https://answall.com/questions/48052/usar-cookie-ou-localstorage

  • https://answall.com/questions/19384/diferen%C3%A7as-entre-localstorage-vs-sessionstorage

  • Thanks @Leocaracciolo, but as I said I’ve read about localstorage and sessionstorage, so I read from the article it is safe, just does not work in old browser. By your indication I will use it, I will open another post to see how to implement it before loading the page to check whether the user has permission or not, thank you!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.