Security Block - ASP.NET MVC2

Topics: Security Application Block
Feb 16, 2011 at 10:04 AM

Hello,

 

I have to develop an application based on ASP.NET MVC2. I have several roles identified in the application.

The differences between the roles are the features available on the pages or the data available.

Does I have to create for a page one view per roles? Does Security block can help me?

 

Thanks a lot.

 

Mike

Feb 17, 2011 at 6:38 AM

I believe you may be able to get better answer in the ASP.NET Forum for MVC for this. Since I think it's more MVC related question. Thanks.

Gino Terrado
Global Technologies and Solutions
Avanade, Inc.
entlib.support@avanade.com

 

 

Feb 18, 2011 at 12:17 AM

Here's a sample how to implement authorization in MVC.

The Security block or implementing it using PIAB or Unity in MVC (which I haven't tried) doesn't provide a direct approach and as simple as much as that sample demonstrates. 

 

Sarah Urmeneta
Global Technologies and Solutions
Avanade, Inc.
entlib.support@avanade.com

Feb 18, 2011 at 2:58 PM

Ok.

Thanks a lot for your answers.

Best Regards

Mike