Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all ,

I recently finished developing a website with its control panel.So i need to provide login functionality for the admin to this panel.I know about membership and how it ads a database with everything.But i don't want this since i have only one user so i don't need a complete database for one user.So how can i make the login functionality without the creation of database.?

Thanks in advance.
Posted

1 solution

I think best way to implement this, add uid and password in Web.Config file and Authorized Admin folder for this user only.
http://msdn.microsoft.com/en-us/library/wce3kxhd.aspx[^]

And Do not forget to encrypt Web.Config file. http://msdn.microsoft.com/en-us/library/zhhddkxy.aspx[^]
 
Share this answer
 
v2
Comments
senguptaamlan 1-Jul-11 2:48am    
good solution
Parwej Ahamad 1-Jul-11 2:52am    
Thanks Sengupta
mhamad zarif 1-Jul-11 3:15am    
Great Solution but where to set the passsword ?
Parwej Ahamad 1-Jul-11 3:17am    
I didn't got your question "Where to set the password?"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900