Posted on: 3/7/2011 10:05:51 PM | Views : 261

My restricted files are all stored in ~/Secured folder on the root.  Authorized users have no trouble accessing aspx files in that folder.  Recently I added a part of an application whose files I wanted to keep separate and created a ~/Secured/HR folder.  I am getting a "resource not found" error trying to use any aspx file in HR folder even after user successfully logs in, as if the file does not exist at all.  Here is my web.config security settings:
<authentication mode="Forms"> <forms name="ckAppUser" loginUrl="~/LogIn.aspx" defaultUrl="~/Secured/RoleRedirect.aspx" protection="All" timeout="600" path="/"/> </authentication> <roleManager enabled="true" /> </system.web> <location path="Secured"> <system.web> <authorization> <deny users="?"/> </authorization> ...

Go to the complete details ...