|
-
Aug 9th, 2011, 01:10 AM
#1
Thread Starter
Fanatic Member
MVC 3: Page Authorization based on Role
Hi All,
let say i have this Page and Role required to access it
Home: PublicRole
About: PublicRole
Invoice: PurchasingRole
i have navigation menu that populate based on user's Role that logon but it doesn't prevent if user type the URL manually..user still can access that Page eventhough user don't have permission to access it
using AuthorizationAttribute is something that i want to prevent because Admin have the ability to set the Menu based on Role
authorization article that i found is required user to Logon first before attempt to access the Page, it already done in my scenario
any insight?
thx,
erick
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|