Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Reply
How can I make authorization with database role in MVC?
Asp.Net Hein
8 years ago
246
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.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to send mail from a asp.net
capture posted data