Mohit Kala

Mohit Kala

  • 563
  • 2.1k
  • 137.4k

How To Create Custom Filter For Security In Mvc5

Feb 21 2018 9:13 PM
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)