Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
How can I make authorization with database role in MVC?
Asp.Net Hein
Jun 6 2016 2:15 AM
226
Reply
How can I authorize one of my controller only for the user in England.
For example: My database is like that.
DatabaseA (Id, Name, Notes, Country ).
In my databaseA_controller, there is one function (eg.Search).
I want to allow this 'search' feature for only the User who is in England.
I am using MVC5 and if possible, I want the reference with entity framework in MVC5.
Kindly let me know if you have idea to do. Thank you for viewing my question.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to send mail from a asp.net
capture posted data