D
djc
I have a couple questions about authentication and authorization in asp.net
2.0.
1) I see there are still the same authentication mode options as in 1.1
(windows, forms, or passport). However in reading through some of the new
documentation I see reference to 'membership' a lot. How does membership
relate to all this? Is it simply enhanced classes used with 'forms' based
authentication? does it also apply to windows authentication mode? etc..
2) I though I understood this correctly:
A) With forms based authentication
- users and roles exist in a data store of your choice (usually a
sql database)
- you handle your own login page to check against your user store
- authorization after authentication is performed by asp.net using
settings in web.config
B) With windows authentication mode
- the users are actual windows accounts and the roles would be
windows groups.
- authorization after authentication is handled by NTFS permissions
on the web server
I was just toying around with the website administration tool in VS 2005 for
a site that is in windows authentication mode and noticed:
- I could enable and add 'roles', which didn't make sense to me since I
thought the 'roles' in this case were actually windows groups, and I could
add access rules which specified 'roles' or users that are not windows users
or groups??
confused, probably too confused for this post to even make sense, any input
would be greatly appreciated
2.0.
1) I see there are still the same authentication mode options as in 1.1
(windows, forms, or passport). However in reading through some of the new
documentation I see reference to 'membership' a lot. How does membership
relate to all this? Is it simply enhanced classes used with 'forms' based
authentication? does it also apply to windows authentication mode? etc..
2) I though I understood this correctly:
A) With forms based authentication
- users and roles exist in a data store of your choice (usually a
sql database)
- you handle your own login page to check against your user store
- authorization after authentication is performed by asp.net using
settings in web.config
B) With windows authentication mode
- the users are actual windows accounts and the roles would be
windows groups.
- authorization after authentication is handled by NTFS permissions
on the web server
I was just toying around with the website administration tool in VS 2005 for
a site that is in windows authentication mode and noticed:
- I could enable and add 'roles', which didn't make sense to me since I
thought the 'roles' in this case were actually windows groups, and I could
add access rules which specified 'roles' or users that are not windows users
or groups??
confused, probably too confused for this post to even make sense, any input
would be greatly appreciated