Can I use the Sitefinity Membership Provider for aspx pages that are included in my Sitefinity application
I would like to be able to add aspx pages to my sitefinity project and secure the pages using the Sitefinity Membership provider. Specifically I will need to set the security level of pages in specific folders by adding allow and deny elements to the web.config.
<
authorization
>
<
allow
roles
=
"Admin, Customers"
/>
<
deny
users
=
"*"
/>
</
authorization
>
Is this possible out of the box? If not can you suggest an approach that might achieve the same/similar affect? Converting the pages to user controls/widgets or even masterpages is not an option. I need to apply security to aspx pages.
Hi Dave,
Can you please refer to the below KB article and try the suggestion there:
http://www.sitefinity.com/developer-network/knowledge-base/details/how-to-protect-static-pages-to-be-accessed-only-by-users-in-particular-role
Regards,
Sabrie Nedzhip
Telerik