DNK has a spanking new server up and running like clockwork. Stability problems are a thing of the past. Our new monitoring service reports 100% uptime since the move!
20
kicks
published 1 year, 3 months ago, submitted by alley alley 1 year, 3 months ago

blog.wekeroad.com — Many people on the forums want to know how to best protect Actions on their Controller using Forms Authentication. The MVC Team has done a nice job introducing Filters (using Attributes) to this latest drop of MVC, and in this post I’ll show you how to create a filter that can handle security.

Add a comment 1 comment | category: | Views: 9 | Get KickIt image code
ASP.NET MVC: Securing Your Controller Actions
tags: , , | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
http://www.coderjournal.com/2008/03/securing-mvc-controller-actions/

There is actually a way to do this already built in to the .NET framework and operates in side the run time. It is called PrincipalPermissionAttribute.
posted by zigamorph zigamorph 1 year, 3 months ago



information Login or create an account to comment on this story

Related Stories:
 

Search: