|
-
Sep 9th, 2009, 03:48 AM
#3
Thread Starter
Addicted Member
Re: AD SSO / Mail / Database / ASPX
 Originally Posted by gep13
Yes .. By SSO I am referring to Single Sign On.
One thing here is that I want to pass the credentials dynamically. I dont want the identity credentials for impersonation in Web.Config because this will be for one user only.
I want to do it like each user when he logs on to my application should get access to database and the mail server.
I am trying to do this because when we take a login history of the database it should show how many users and who are all teh users that are logged in.
Also for sending mails I want to use the credentials of the logged in user, sinc ethe from ID should be from the specific users who are actually sending out mails.
I have browsed some more on the web and found this link for impersonation, but even though it is changing the Environment.UserName, it still seems to work under the main identity, because I tried running this code by removing permissions to one user name and trying to impersonate that user, still the application is able to access the resource.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|