javascript - Validate the user in AngularJS without any back end calls or Databases -


i have created static website using angularjs. not using backend calls or database. have login page user enters password (password same site users site internal purposes only), if password correct take user home page else take them login scree. using apache web server. there way achieve safe validation/authentication in angularjs without tomcat/database/cookies etc ?

note: don't want store username , password in .js file in way exposed user.

thanks

real-world equivalent using #javascript input validation.

enter image description here

sorry, sarcasm.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -