1
Answer

How To Create Custom Filter For Security In Mvc5

Mohit Kala

Mohit Kala

7y
542
1
Hello All
                I Need Your Help Thanx in Advance
 
I have One Senario in mvc 5 Login,Register Without Identity 2.0
I Want To Create CustomAttribute For Its Security With Roles And Session 
For Exampe 
 
[Custom(Roles="Admin")]
i want to creae like that with session for every action
if other role it redirect unauthorized 
 
help me guys 
 
Answers (1)