lundi 21 mai 2018

Proxy design pattern (protection proxy)

I just studied about proxy pattern and I thought I could use it for keeping my controller actions save (checking if the current user is authenticated or has the rights to visit this page) in a ASP.NET MVC 5 application. Any ideas how to implement it? Redirecting him with a proxy class to an other controller maybe?

Aucun commentaire:

Enregistrer un commentaire