When managing security for any control on a page we use SPSecurityTrimmedControl. But what to do when defining permissions for a custom application page? How do we restrict unauthorized people to access some custom application pages?
Possible duplicate of the question, Can an Application Page Permissions Be Set from SharePoint Foundation 2010?
Answer from post:
Also, have a look at below post: