please clear my doubts

Posted by Jprathap under ASP.NET on 4/14/2012 | Points: 10 | Views : 764 | Status : [Member] | Replies : 5
I am Developing One Website , How to Admin will get User Id and Password .
what is the right way to Login by Admin.




Responses

Posted by: Kk86kiran on: 4/14/2012 [Member] Starter | Points: 25

Up
0
Down
hi prathap,

if u want to login as an admin you should use Forms Authentication. In web.config file you should define authorization tags for users.

k.m.j.kiran

Jprathap, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 4/15/2012 [Member] Starter | Points: 25

Up
0
Down
hi,
Check this link.

http://www.dotnetfunda.com/articles/article808-how-to-write-a-simple-login-page-in-aspnet.aspx

Thanks & Regards
Hari

Jprathap, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 4/16/2012 [Member] Bronze | Points: 25

Up
0
Down
HI

http://forums.asp.net/t/1232131.aspx/1?How+to+make+a+simple+login+system+Asp+net+and+C+

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Jprathap, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sunny4989 on: 4/17/2012 [Member] Starter | Points: 25

Up
0
Down
Use Roles

------------------------------------------------
Learn throughout life

Jprathap, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gsm_Gsv on: 4/17/2012 [Member] Starter | Points: 25

Up
0
Down
The best way is to use Membership in asp.net web administration tool.
Step 1: Create an admin folder and put admin pages in that folder.
Step 2: Use ASP net web administration tool which will be present in solution explorer menu, and create roles as user and admin.
Step 3: Provide admin privilege to admin folder by assigning roles for particular user(that you want as admin), in web administration.

Note: No need to modify your web.config if you use web administration tool.

Hope this helps you.

--
Regards
Madhu

---------------------------------------
Live the life you've dreamed

Regards
MADHU

Jprathap, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response