For a webapplication if i want to gice access controls like
admin,users how can i give security like rolebased?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / guest
For a webapplication if i want to gice access controls like
admin,users how can i give security like rolebased?
Is This Answer Correct ? | 18 Yes | 29 No |
How do you insert multiple rows from a grid view to database table under a single transaction?
What is ViewState ? and how it is managed ?
In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?
Explain the scenario where we go for inpro and outpro session?
Can we create a multiple user simultaneously ?
how can u create the blog in asp.net with C#?what is the data type u will use to store in sql server?
How about the security in Activex DLL and Activex EXE ?
How would you turn off cookies on a page of a website?
What is the difference between appsetting and connectionstring tags in web.config file
I am using a range validator and want to use dd mm yyyy format for accepting dates. I get a fairly generic "can't do that" type exception when I use this format for setting the minValue or maxValue properties for the range validator. How can I force it to accept my format?
accessing a textbox that was created dynamically? for (int i = 0; i < t1; i++) { TextBox t2 = new TextBox(); t2.ID = "adf" + i; PlaceHolder1.Controls.Add(t2); } accessing data entered in the above created controls.
What are the different methods of session maintenance in asp.net?