Search

You searched for the word(s): userid:871172

Matching Posts

  • Re: Asp.Net identity references

    [quote user="Andrew Zhu - MSFT"] They are different. Provided such conditions for example: We have a Web Site, its application pool runs under a domain account "domain\AdminUser". turn off impersonation, turn off anonymouse auth,enable forms auth, in the Login page, we log into the web site with a account "User1"(this user account is stored in ASPNET membership database). the each method will get following results: [/quote] I'm assuming in the IIS server, anonymous
    Posted to Security (Forum) by eriera1@gmail.com on 6/17/2009
  • Re: Asp.Net identity references

    Thanks for the response. Just a short question to finish: Request.LogonUserIdentity, User.Identity and Thread.CurrentPrincipal.Identity would always be the same identity in any ASP.NET standard(*) configuration? (1) by standard I mean any combination of forms, passport, windows and none authentication, with impersonation enabled/disabled, with IIS anonymous acces enabled/disabled, IIS windows authentication enabled/disabled but without any custom code like a custom global.asax or the like) Best regards
    Posted to Security (Forum) by eriera1@gmail.com on 6/16/2009
  • Asp.Net identity references

    Trying to figure out the security model in Asp.Net I found these identity references. a) WindowsIdentity.GetCurrent(): It seems it is always the windows user (OS user) that "runs the code" in any given time. (Its posible values depend on IIS security settings and on ASP.Net impersonation?). b) Request.LogonUserIdentity: Is it always the user (OS user) that IIS set? I mean, it has nothing to do with asp.net impersonation settings. c) User.Identity: The asp.net authenticated user. Has nothing
    Posted to Security (Forum) by eriera1@gmail.com on 6/9/2009
  • Re: HttpContext.Current.User vs. Thread.CurrentPrincipal (Http pipeline)

    Uuupss... It seems I miss another Identity in the httpapplication pipeline: System.Security.Principal.WindowsIdentity.GetCurrent() It looks like this is the windows user that is really executing the code (the one that needs permissions for creating files in folder, etc)
    Posted to Security (Forum) by eriera1@gmail.com on 6/8/2009
  • HttpContext.Current.User vs. Thread.CurrentPrincipal (Http pipeline)

    Hello, If I want to create a new file into a folder within my aspx server code, I guess the user that needs the rights to create files in folder is the one set in Thread.CurrentPrincipal. Is it always right? If I attach a code for creating a file into a folder in the following httpaplication events, is it always the user in Thread.CurrentPrincipal the one who need the rights to create the file? BeginRequest AuthenticateRequest PostAuthenticateRequest AuthorizeRequestP> PostAuthorizeRequest ..
    Posted to Security (Forum) by eriera1@gmail.com on 6/8/2009
  • Extensions and namespaces conventions...

    Hello, I start looking at the code (build 22882) and I didn't see all related videos yet. So sorry if the question is discussed in some of them. Moreover it is the first time I see the extension method functionality. And I guess that having MVC in the middle make things worse... But let's focus on the question... About the creation of extension methods, I found it extremely powerful but in large projects it doesn't seem easy to manage (Dll references and using statements takes another
  • Re: Httpcontext is null Exception ocurr

    I guess localization support is in the todo list. My default culture language is "es". To make it work with the current database records I had to change these bits in the HomeController.cs: public ActionResult Index( string slug) { slug = slug ?? "/" ; //this.CurrentPage = _cmsRepository.GetPage(slug, System.Globalization.CultureInfo.CurrentCulture.TwoLetterISOLanguageName); this .CurrentPage = _cmsRepository.GetPage(slug, "en" ); return View(); } Not sure if there are
Page 1 of 1 (7 items)