-
Recent Posts
- Customizing IdentityServer
- ASP.NET Web API Authentication: Using multiple (simultaneous) Authentication Methods with Thinktecture AuthenticationHandler
- LeastPrivilege on Flipboard
- Support for X.509 Client Certificates in Thinktecture.IdentityModel for Web API
- Web API Security: JSON Web Token/OAuth2 with Thinktecture.IdentityModel AuthenticationHandler
Categories
- .NET Security (32)
- ASP.NET (89)
- Azure (26)
- Conferences & Training (27)
- IdentityModel (284)
- IdentityServer (77)
- OAuth (23)
- Photography (14)
- Resources (1)
- Uncategorized (549)
- WCF (104)
- WebAPI (78)
Tweets
- RT @richardblewett: Shindler’s Lifts http://t.co/SOWVG6munp 20 hours ago
- Skógafoss tmblr.co/ZtWeVslF2fZL #iceland 1 day ago
Feed
Archives
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
Monthly Archives: June 2012
Managing ASP.NET Membership and Roles without Visual Studio
I made a conscious decision to not include any user management features in IdentityServer. It’s a token service. In addition it is based (at least by default) on the standard ASP.NET membership, roles and profile features. So there should be … Continue reading
Posted in ASP.NET, IdentityServer
7 Comments
CORS support in WebAPI, MVC and IIS with Thinktecture.IdentityModel
Brock has added a really nice implementation of CORS to Thinktecture.IdentityModel (both 4.0 and 4.5). Here are all the details.
Posted in IdentityModel, WebAPI
Leave a comment
Session Token JavaScript Sample for Thinktecture.IdentityModel and Web API
Christian has added a new JavaScript sample that shows how to use the session token mechanism. It includes persisting the session token in local storage. Nice! github
Posted in IdentityModel, WebAPI
13 Comments
Update on Thinktecture.IdentityServer for .NET 4.5
I made some progress on the 4.5 version. It is now a real .NET 4.5/MVC 4 application and I made some minor changes to data handling: Switched to the new universal providers for ASP.NET Switched to SQL Server LocalDB as … Continue reading
Posted in IdentityModel, IdentityServer, WebAPI
15 Comments
New unified Nuget Package for Thinktecture.IdentityModel
I uploaded a Nuget package for Thinktecture.IdentityModel that contains both the 4.0 and 4.5 versions. That should make it easier. We will try to keep both framework versions as closely in sync as possible.
Posted in IdentityModel, WebAPI
16 Comments
Important: Setting the Client Principal in ASP.NET Web API
Due to some unfortunate mechanisms buried deep in ASP.NET, setting Thread.CurrentPrincipal in Web API web hosting is not enough. When hosting in ASP.NET, Thread.CurrentPrincipal might get overridden with HttpContext.Current.User when creating new threads. This means you have to set the … Continue reading
Posted in WebAPI
6 Comments
Extending Authorization in ASP.NET Web API – Part 1: Basics
From my last post you can maybe tell that I prefer to keep my business and authorization logic separate. I am also not a huge fan of annotating my façade with role requirements like the [Authorize] attribute does. In this … Continue reading
Posted in IdentityModel, WebAPI
3 Comments
Thread.CurrentPrincipal and Propagation to new Threads
I often get questions about this. Here’s an interesting post about the so called “Execution Context” in .NET: http://blogs.msdn.com/b/pfxteam/archive/2012/06/15/executioncontext-vs-synchronizationcontext.aspx
Posted in .NET Security, IdentityModel
Leave a comment
Approaches to (Server-side) Authorization
Authorization is a difficult topic. The implementation is typically so application/developer specific, that when you ask ten people how they do it, you most likely get ten different answers. I think this is also the reason why .NET does not … Continue reading
Posted in .NET Security, IdentityModel, WebAPI
9 Comments
Taking Control over Azure Access Control Service HRD (without the Help from jQuery)
Vittorio wrote a post earlier today showing how to fetch the identity provider feed from ACS and use it to drive the sign-in handshake from within your application and UI. This is indeed a very useful (and user friendly) approach. … Continue reading
Posted in Azure, IdentityModel
Leave a comment
