MVC5 login | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

MVC5 login

I am developing MVC5 web app and I created a login page and it works perfectly fine. But the problem is someone can edit the address bar like this ( /home/administrator) and login without getting authenticated. What should I do to prevent this. Thanks.

27th Jan 2022, 6:41 AM
Miki Yas
1 Réponse
Miki Yas Yes it is possible people can change URL but there must be a mapping of URL in code so there you can verify if you didn't get valid mapping then you can throw a error page.
27th Jan 2022, 8:20 AM
AÕĘJ - avatar