Chech whether the USER is authenticated/not while trying to browse using direct URL : Thanks in advance. 
I want to restrict users based on their authorization to my application while they are trying to access URL directly in browser. We are getting the flags from Database table whether the user has access to perticular services or not. We are having n number of controllers, so I can't use session variables. Can you please suggest that how can I use those flags to restrict users by custom actionfilters.