hello...
in our website how we can do settting like some links should be visible only when "admin" user is logged in!
Thanx!
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kirtan PatelPosted Oct 30, 2009, 4:18 PM
How to Implement Role based Security in the WebSite
Here is Best Link For you to learn asp.net :)
all videos are free just Download and Learn How to do All the Security management in Asp.net
http://www.asp.net/LEARN/videos/
Programatically learn
---------------------------
http://www.4guysfromrolla.com/webtech/121901-1.shtml
if my answer helps you please check "Do you like this answer" :)
Dipa AhujaPosted Oct 31, 2009, 12:22 PM
i marked you answer
Dipa AhujaPosted Oct 31, 2009, 12:12 PM
Thanx.. i will see these links..
Dipa AhujaPosted Oct 31, 2009, 12:11 PM
ya by mistake i made this thread in windows form i wanted to make ths in web form so...
Posted Oct 30, 2009, 3:06 PM
Kirtan PatelPosted Oct 30, 2009, 3:00 PM
then
you can do it with
ASp.net Configuration Wizard
thats last button in Solution Explore ...
Dipa AhujaPosted Oct 30, 2009, 1:01 PM
would u plz tell me or provide me any website ?
i want to create two types of user 1. simple user and 2.Admin (fully authorized user) and also login account also created based on this type..
how to do?
Kirtan PatelPosted Oct 30, 2009, 12:39 PM
and In page Load Check Which role User Belongs to
//
code to retrieve the role of user from database
if ( role == "user")
{
// Code to Make Links Visible = false;
}
else
{
//Code to Showthe links;
}