TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Marius Vasile
552
1.9k
145.8k
asp.net core razor pages. Authorize access for group of users
Dec 13 2020 10:39 PM
My project contains several modules, each of it having its own folder in /Pages. The application may be used by several companies and I've already implemented a role base authorization for users but I want to limit access to each project folders for each company.
What I have in mind is to have something similar with Roles
[Authorize(Roles =
"Management,Safety,Issuer,Receiver,IsoCert"
)]
but to be able to assign companies codes for accessing folders. How can this be achieved?
Reply
Answers (
12
)
asp.net core razor pages. add an input value to two different tables
How to handle SQL Server IMAGE data type as TEXT data type