Things to Consider in Making an "Account Controller" in ASP.NET MVC 2 -
I use VS by using empty ASP.NET MVC 2 template. 2010 I am creating a site and for my log-in / security my account controller
In order to prepare and take into account the DB, I need to create a model for the user account. The main techniques or methods that I should consider making myself account controller?
There are no specific things that you should consider when creating account controllers, consider creating any other controller
- Design view model
- Controlling functions such as showing entry forms and handling form submissions, such as 2 login actions (one for GET and one for POST)
- If you manage things like forgot passwords, password change etc. Want to ... this may also be an action on this controller
- When the login is successful and you are using it for a refund, the user should initially make sure that you use this URL Are to avoid spoofing related to your domain.
- Make sure that the administrative action that receives the user name and password is accessible only with HTTPS
- If you are using the cookie for increased security Can be configured to configure.
Comments
Post a Comment