Take the 2-minute tour ×  I have custom application page, now
what I want to do, is to allow users ( or SPGroup ) to view and
use application page. How this should be done ? Currently only
administrator can view application page, other users can't.
share|improve this question add comment  2 Answers  up vote 1
down vote accepted  I finally figure this out. The problem was
that I was accessing SPSite and SPWeb objects, and users didn't
have permissions to interact with this objects. So I had to wrap
SPSite and SPWeb object calls into
SPSecurity.RunWithElevatedPrivileges. Now everything works as
exepcted.  share|improve this answer add comment  Please make
sure that you have in your codebehind   protected override bool
RequireSiteAdministrator {     get { return false; }  Then in
your Init event, you can check if the current user is member of
a specific group that you trust and if it's not the case, you
can use the SPUtility.TransferToErrorPage("Your relevant access
denied message")  share|improve this answer H