D
David Lozzi
Howdy,
I've written a few apps already and I have done custom authentication like
so: prompt for user name and password, verify information against SQL table,
then load returned username, ID, security, etc. into session state. This
works and frankly I'm not sure why i'm posting this except for that I want
to be 'correct' in my apps.
I notice .Net supports Authentication Modes. Which is the better one to use?
I have a basic understanding of each provider and it appears that the Forms
Authentication Provider is the preferred method? Using Forms, how do I
specify the database table in SQL to use? Also, once validated, it loads the
user information into a cookie for later retrieval. Can I load more
information into this cookie, like custom security levels, etc. Currently, I
basically have a range from 1 through 10 specifying security levels, will
this still work or does Forms process security itself?
Same questions with Windows Auth. I've used Windows Auth in some legacy ASP
apps and was able to determin security levels by a users membership to
domain groups. Does this provider work the same? How do I read the security
information?
Eh, PassPort is cool but I not necessary for me so I don't care enough to
ask.
I've been reading through MSDN articles pertaining to these but my questions
can't seem to get answered with MS Docs. Any help and clarity is greatly
appreciated!
Thanks!
David Lozzi
I've written a few apps already and I have done custom authentication like
so: prompt for user name and password, verify information against SQL table,
then load returned username, ID, security, etc. into session state. This
works and frankly I'm not sure why i'm posting this except for that I want
to be 'correct' in my apps.
I notice .Net supports Authentication Modes. Which is the better one to use?
I have a basic understanding of each provider and it appears that the Forms
Authentication Provider is the preferred method? Using Forms, how do I
specify the database table in SQL to use? Also, once validated, it loads the
user information into a cookie for later retrieval. Can I load more
information into this cookie, like custom security levels, etc. Currently, I
basically have a range from 1 through 10 specifying security levels, will
this still work or does Forms process security itself?
Same questions with Windows Auth. I've used Windows Auth in some legacy ASP
apps and was able to determin security levels by a users membership to
domain groups. Does this provider work the same? How do I read the security
information?
Eh, PassPort is cool but I not necessary for me so I don't care enough to
ask.
I've been reading through MSDN articles pertaining to these but my questions
can't seem to get answered with MS Docs. Any help and clarity is greatly
appreciated!
Thanks!
David Lozzi