How do I protect Dynamic data pages using ASP.NET Authentication?

Posted by ProfK on Stack Overflow See other posts from Stack Overflow or by ProfK
Published on 2010-05-06T06:54:50Z Indexed on 2010/05/06 6:58 UTC
Read the original article Hit count: 261

I have a site where most of my pages are arranged in business area folders, e.g. Activations, Outdoors, Branding. Each folder has a small web.config that protects the contents against access by people without a role for that business area.

However, basic admin for most business areas is done via Dynamic Data pages. These are only basically protected by not appearing in the menu unless the user has the correct role, but they are still accessible directly via URL, because of the {table}/{Action} routing used by Dynamic Data. What can I do to protect these pages against direct access?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about dynamic-data