Hey guys,
I am having a problem with role authentication on our production server. My configuration is working perfectly on my local system (using .net's inbuilt web server), however when deploying to the production server suddenly I get booted out of directories in which the role is allowed.
I am not using .net's membership/roles tables (aspnet_Membership, aspnet_Profile, aspnet_Users .... etc) But am using my own tables to login a user. I am adding the roles to the FormsAuthenticationTicket and have allowed certain roles to access certain directories under the "members" directory for example here is a snippet of my web.config under the members directory
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Config ...
Go to the complete details ...