For a webapplication if i want to gice access controls like
admin,users how can i give security like rolebased?
Answer Posted / nezam
In Web Application, we have Roles with that roles we can assign access the to users. we can create n no of roles.
Roles Can be such as
-Guest users
-premium users
-non premium users
-admin user
so when the users logins .the login control checks what kind of role he is and the page is redirect to him.
If he is admin then he is taken admin master page.
like tat its works.
For creating Roles in my point of view we have to use the login controls which is avaiable in tool box. with that login controls oly we can assign roles, check roles and many others things can be done.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?
Explain the role of global.asax?
Mention the namespace that is used to include .net data provider for sql server in .net code?
Why session is necessary in web application?
What is a page life cycle? What are the events in a page life cycle?
Who generates session id?
How does a web application session work?
How many types of cookies are available in asp?
Briefly describe the role of global.asax?
What is mta?
Explain culture and uiculture values.
What is recordset asp?
Will session work if cookies is disabled?
What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
What are the media types of http requests and response?