I have developed a number of application pages using visual studio 2010 and deployed them on SharePoint 2010.
All the pages have been extended from LayoutsPageBase
.
Currently all the application pages are accessible by any authenticated users. However I would like to allow certain groups/permission to access these pages and disallow access for other groups/permissions.
My question:
How can I set the permissions for application pages to be accessible only by certain groups on the SharePoint level and on the code level?