S
szhang
When I enable impersonation in web.config and show User identity in .aspx
page, it is the user IIS authenticates. But when I try to access Sql server,
I get an access denied error message. It looks like asp.net does not
impersonate it at sql server side. I can impersonate a specific user in
web.config without problem. Is this a bug or by design? I need to give users
permissions based on their Windows login and I have a lot of users, but they
are not going to access these web pages at the same time.
page, it is the user IIS authenticates. But when I try to access Sql server,
I get an access denied error message. It looks like asp.net does not
impersonate it at sql server side. I can impersonate a specific user in
web.config without problem. Is this a bug or by design? I need to give users
permissions based on their Windows login and I have a lot of users, but they
are not going to access these web pages at the same time.