Hi there
I have 2 folder within my application:
1) Admin
2) Public
Basically in my Role provider I've setup 2 roles and if the role is admin it redirects to Admin folder and if it's not, it redirects to other one. This thing works well.
But now how do I protected that if someone (public) is successfully logged in ... and he/she try going manually to the /Admin folders?
I am thinking:
1) I put the Role checking on the Templates (master page) .. or
2) I also have a BasePage that inheritated from System.Web.UI.Page ... at this stage I only do for my culture
protected override void Initial ...
Go to the complete details ...