Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:871172
More Search Options
RSS Available
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
Posted to
ASP.NET MVC Storefront Starter Kit
(Forum)
by
eriera1@gmail.com
on 5/21/2009
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
Posted to
ASP.NET MVC Storefront Starter Kit
(Forum)
by
eriera1@gmail.com
on 5/21/2009
Page 1 of 1 (7 items)
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online