----------------------------------------------------------- New Message on MumbaiUserGroup
----------------------------------------------------------- From: SitaramanM Message 3 in Discussion Hi Agree with Deepak on the security issues. However wrt the problem that u had mentioned, the problem is that you have mixed up the identities. The following are the results with the combinations of settings a) anonymous setting + anonymous mapped to admin acct + NO impersonation in web.config : Application executes with the identity of admin b) impersonation set to domain/xyz in web.config : Application executes with the identity of domain/xyz c) anonymous setting + anonymous mapped to admin acct + impersonation set to domain/xyz in web.config : Application executes with the identity of domain/xyz. This is what you have done. So even though your anonymous is mapped to the admin, due to the impersonation tag the effective identity is domain\syz which might not have permission Strongly suggest that you use the document posted by Deepak, as it is a great one. But, if you really have to use impersonation in web.config, set the impersonation to true, but provide the username and passwotrd in a encrypted way as follows Identity Element : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfidentitysection.asp HOW TO: Use the ASP.NET Utility to Encrypt Credentials and Session State Connection Strings : http://support.microsoft.com/default.aspx?scid=329290 Download the tool from : http://download.microsoft.com/download/2/9/8/29829651-e0f0-412e-92d0-e79da46fd7a5/Aspnet_setreg.exe regards, sr ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
