How to limit access to a controller using Authorize(Users="Alice,Bob") -


i created mvc 5 application uses active directory authentication.

how can limit access controller selected users. know can [authorize(users="alice,bob")] don't know if work ad authentication well. 'alice & bob' need on database?

thank you

ceci

in little knowledge in this, understand objects (alice,bob) need in session, mean, after authenticate sucessfully in app access controller, database not reference session is.


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -