1

I would like to know how does the login procedure work in the Internet sites (e.g. Gmail). I am trying to implement an online application which I want to secure with user authentication.

Could someone give a detailed explanation or point to a relevant site

Babu James
  • 2,649
  • 4
  • 30
  • 49
  • 1
    Here you go. http://stackoverflow.com/questions/549/the-definitive-guide-to-forms-based-website-authentication – E-man Jun 11 '12 at 04:18
  • Are you using a web development framework of some sort? If so, it probably has baked-in authentication, which has been tested more thoroughly than code you write yourself. You should use it. – Matthew Schinckel Jun 11 '12 at 04:37

1 Answers1

1

Many websites use OpenId to allow users to login. OpenId uses OpenId Providers (such as Google) to login. One big advantage is, you do not have a password for the user stored (so if you get hacked, it can't be leaked). Some info: http://de.wikipedia.org/wiki/Openid

ASP.Net has the concept of Membershipproviders, which can in turn use many different ways. See here: http://msdn.microsoft.com/de-de/library/system.web.security.membershipprovider.aspx

There are many ways (another may be OAuth) to create a login, I think you can't talk about one single correct way.

laurent
  • 83,816
  • 72
  • 267
  • 404
Sascha
  • 10,000
  • 3
  • 42
  • 63