Deny access to a webpage using web.config
I have searched Google & SO posts, but could not get any results that solved my issue.
My web.config is:
The authorization works as required (meaning a person with “PayrollReports” role, is not able to see the Manifest Reports in the menu item and a person with “ManifestReports” role is not able to see the Payroll Reports in the menu item).
Similarly, as a user with “ManifestReports” role, I can type into my url
You need to put each file in it’s own
This assumes you are using a RoleProvider. Either you are using the built-in RoleProvider or you a custom RoleProvider that inherits from