I see that end users can access ASPX pages (such as "_layouts/settings.aspx" etc) that are related to application.master.
My goal is that when end users try to navigate any of these pages (either directly or through OOB links), I want to return them to an error page (or home page). The end users may still need to modify "my settings" page which also has "_layouts" in it. So
I have to consider this as an exception.
I did search a bit and not getting right solution yet.
View Complete Post