Security Trimming and Health Monitoring, Oh My!

I wasn’t that excited about ASP.NET 2.0’s new site navigation infrastructure until I discovered security trimming. Security trimming enables site maps nodes to be selectively shown and hidden based on the role or roles that the requestor belongs to. For example, if you have an Admin link in your site’s navigation bar, you can tell ASP.NET to hide that node from non-administrators. Given that the new role management service makes role-based security a piece of cake, it’s incredibly easy to put security trimming to work–even on sites that use forms authentication.

Another cool feature that seems to be something of a secret (there’s not much in the way of documentation yet, but the feature is indeed implemented in beta 1) is health monitoring, which may become better known by the name “Web events.” With Web events, a few simple lines in Web.config can configure an app to do cool stuff like write an entry to the Windows event log when a login fails, fire off an e-mail to a system administrator when the application shuts down or throws an unhandled exception, and more. Once devs and admins become aware of this feature, I predict that it’ll be very popular.

In case you didn’t know, MSDN subscribers can download the first official beta of “Whidbey”–version 2.0 of the .NET Framework–from the MSDN Web site.

Jeff Prosise

Recent Posts

How to Navigate Azure Governance

 Cloud management is difficult to do manually, especially if you work with multiple cloud…

7 days ago

Why Azure’s Scalability is Your Key to Business Growth & Efficiency

Azure’s scalable infrastructure is often cited as one of the primary reasons why it's the…

3 weeks ago

Unlocking the Power of AI in your Software Development Life Cycle (SDLC)

https://www.youtube.com/watch?v=wDzCN0d8SeA Watch our "Unlocking the Power of AI in your Software Development Life Cycle (SDLC)"…

1 month ago

The Role of FinOps in Accelerating Business Innovation

FinOps is a strategic approach to managing cloud costs. It combines financial management best practices…

1 month ago

Azure Kubernetes Security Best Practices

Using Kubernetes with Azure combines the power of Kubernetes container orchestration and the cloud capabilities…

2 months ago

Mastering Compliance: The Definitive Guide to Managed Compliance Services

In the intricate landscape of modern business, compliance is both a cornerstone of operational integrity…

2 months ago