How to access data from all web forms?

  • Thread starter Thread starter Terry Olsen
  • Start date Start date
T

Terry Olsen

I'm new at VB/ASP.NET. I'm creating a web site that uses authentication.
I've got the "create account" and "login" pages working. But how do I make
the user data available to all the web pages and keep someone from linking
directly to a page without going through the login page?

Also, all users have a domain account. Is it possible to validate the
user's login info against their domain account info so that there isn't a
need to "register"? If so, how?

Thanks!
Terry
 
Terry Olsen said:
I'm new at VB/ASP.NET. I'm creating a web site that uses authentication.
I've got the "create account" and "login" pages working. But how do I make
the user data available to all the web pages and keep someone from linking
directly to a page without going through the login page?

This functionality is built into ASP.NET, it's called Forms Authentication.

More on Forms Authentication:
http://msdn.microsoft.com/library/d...html/cpconthecookieauthenticationprovider.asp
Also, all users have a domain account. Is it possible to validate the
user's login info against their domain account info so that there isn't a
need to "register"? If so, how?

This is also built into ASP.NET and it's called Windows Authentication.

Here's info on Windows Authentication:
http://msdn.microsoft.com/library/d...tml/cpconthewindowsauthenticationprovider.asp

A basic overview of ASP.NET Authentication:
http://msdn.microsoft.com/library/d...us/cpguide/html/cpconaspnetauthentication.asp

Some in depth information on ASP.NET Security:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/authaspdotnet.asp
 
Back
Top