Robert Hurlbut's Blog

Thoughts on .NET, Security, Architecture, Agility, and Databases.

  • ASP.NET MVC 2 Training

    I have recently finished writing a comprehensive training course on ASP.NET MVC 2 with C#. I am now offering this 3-day course through my independent consulting company. Please check out my Training page on my company web site if you are interested.

    (By the way, I updated my own website to run and use the .NET Framework 4.0 and ASP.NET MVC 2. It was a fun exercise to update my 10+ year old format I used for ages.)

    Read more...

  • Two new Microsoft Security Developement Lifecycle (SDL) tools: MiniFuzz File Fuzzer and BinScope Binary Analyzer

    Microsoft has announced two new Security Development Lifecycle (SDL) tools here:

    MiniFuzz File Fuzzer

    MiniFuzz is a basic testing tool designed to help detect code flaws that may expose security vulnerabilities in file-handling code. This tool creates multiple random variations of file content and feeds it to the application to exercise the code in an attempt to expose unexpected application behaviors.

    Because fuzzing is effective at finding bugs, it is a required activity in the Verification Phase of the Microsoft Security Development Lifecycle (SDL). With the release of MiniFuzz, we have made a simple file fuzzer available to assist developer efforts to find and address more bugs in code before it ships to customers.

    BinScope Binary Analyzer

    The BinScope Binary Analyzer is a Microsoft verification tool that analyzes binaries to ensure that they have been built in compliance with Microsoft’s Security Development Lifecycle (SDL) requirements and recommendations.  BinScope checks that SDL-required compiler/linker flags are being set, strong-named assemblies are in use, and up-to-date build tools are in place.

    BinScope also reports on dangerous constructs that are prohibited or discouraged by the SDL (e.g. read/write shared sections and global function pointers).  For a more detailed enumeration of the checks performed by BinScope, please see the BinScope documentation.  BinScope is available in two forms: as a standalone executable and as a Visual Studio add-on.

     Jeremy Dallman, of Microsoft, explains both tools in this post.

     

    Read more...

  • NHibernate and Fluent NHibernate Training

    I have spent a great deal of time over the last year and a half on a couple of projects architecting solutions using NHibernate and Fluent NHibernate as the preferred ORM (object relational mapper). It has really matured into a great set of products with the release of NHibernate 2.1 (especially with System.Transaction support) and Fluent NHibernate 1.0. I have also used LINQ to NHibernate 1.0 and like how that works as well, but it could be tweaked some more.

    I have decided to turn that experience into training classes offered through my independent consulting company. Please check out my Training page on my company web site if you are interested.

    Read more...

  • PDC 2008 - Geneva Identity Management

    As Jason Hogg mentions in his blog post, the Geneva Identity Management Framework (renamed from Zermatt) was announced yesterday at PDC 2008.

    Genvea includes:

    • Geneva Framework - A .NET framework for writing interoperable, claims aware applicatoins
    • Geneva STS - An STS integrated with AD. Supports issuance (finally) and consumption of Cardspace Cards. 
    • CardSpace Geneva - A federation client

    In addition to these framework like components, there are also a couple of services (biult using Geneva) including:

    • Microsoft Federation Gateway - Provides the basis for the Microsoft Services Identity backbone - brokering access to Microsoft cloud applications and developre services
    • Microsoft Connector Services - Federates AD to the Microsoft Federation Gateway. Provides lightweight access to the federation gateway.
    • .NET Access Control Service - Next generation service (STS) that performs claims transformation. It receives authentication information and issues authz decisions. This includes a management portal and API's for managing and writing authz policies.  

    You can get the bits here.

    I have recently been working with a client to set up a STS and stumbled upon Zermatt and was very excited to see this direction. If you are looking to build/deploy a claims-aware application and need an STS over WCF, take a look at Geneva.

    NOTE: Requirements are Vista and/or Windows 2003/2008 for the installation of the Geneva Framework and Windows 2008 for installation of the Geneva STS.

    Read more...

  • MVP 2008 - thanks again!

    I got notice today, as others did, I have once again been named a Microsoft MVP for 2008 in the area of Visual Developer - Security. Thanks again, Microsoft, and my MVP lead Rafael Munoz, and all those who have been very supportive of my community work this past year (with my speaking at several conferences, speaking at user groups, and leading a user group as well).

    Read more...

  • WCF 3.5 will support Usernames over Transport Authentication

    Like Dominick Baier and Christian Weyer of Thinktecture, I also wondered why I couldn't use a UsernameToken with Transport Security in WCF v.1. I wanted to put together a simple demo for a client and that feature just wasn't there. Dominick mentions in this post it will finally be available in WCF 3.5. Great!

    Read more...

  • Heartland Developers Conference 2007 wrap-up

    Once again, for the 4th year in a row, I enjoyed the one conference I make sure to book well in advance. I haven't traveled to conferences as much this year, instead focused on client-related work. This was one conference, however, I was really looking forward to attending and presenting. I am originally from the mid-west (Oklahoma) and have lived in Massachusetts for 12 years now but I always feel more at home when I go to HDC than anywhere I have visited. The layout of the area, the local convenient stores, the people, and the atmosphere remind me a great deal of what I remembered most about growing up in the mid-west.

    Read more...