ASP.NET Security Context Troubleshooting Tool

I slightly updated ShowContexts.aspx recently during some IIS7 research work. So I thought I post the new version here.

Features:

  • shows authentication and impersonation settings
  • shows configured role and membership providers
  • shows configured trust level (well – for completeness only – you need full trust for this page to work correctly)
  • shows the IPrincipal/IIdentity types on Context.User and Thread.CurrentPrincipal
  • shows the name and authentication type on Context.User and Thread.CurrentPrincipal
  • shows the thread identity (when impersonation is enabled)
  • shows the IIS LogonUser identity (used by FileAuthorizationModule)
  • shows the client cert (and some embedded information like the UPN if available)
  • shows roles (for Windows-, Roles and GenericPrincipal)
  • allows to save an aggregated config.web (with all settings from machine.config down to the vdir)
  • can set a FormsAuthentication ticket to simulate authentication

HTH

ShowContexts212.zip (2.67 KB)

 

This entry was posted in Uncategorized. Bookmark the permalink.

2 Responses to ASP.NET Security Context Troubleshooting Tool

  1. Carl Reid says:

    The download link is not working. Also the link to the tool from IIS.NET is also broken.
    Do you have an up-to-date link ? Thanks.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s