Total members 10249 | Gratitudes |It is currently Thu May 17, 2012 7:19 am Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 2 posts ] 
Author Question
 Question subject: ASP.NET 2.0 Login Controls
PostPosted: Wed Nov 05, 2008 6:25 pm 
Offline
Proficient
User avatar

Joined: Sun Oct 19, 2008 3:47 pm
Posts: 281
Has thanked: 0 time
Have thanks: 1 time

I'm working on an ASP.NET 2.0 project that I would like to use the
ASP.NET Login Controls with. My problem is that my system includes a
smart client. The smart client needs to download the aspnet_users and
aspnet_membership table with the user information to a local database
because users will need to be able to log in while the smart client is
not connected to the Internet. My question is, how can I authenticate
against the downloaded user tables? The password column seems to be
either encrypted or hashed. So, how can I match it up against the
password entered from the login form on the smart client?


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: ASP.NET 2.0 Login Controls
PostPosted: Wed Nov 05, 2008 6:26 pm 
Offline
Proficient
User avatar

Joined: Sun Oct 19, 2008 3:53 pm
Posts: 229
Has thanked: 0 time
Have thanks: 0 time
You have to manually generate the encryption and decryption keys in
ASP.NET 2.0's machine.config file. Each computer needs the exact same
encryption and decryption keys in its machine config file (normally
each would be randomly generated and unique). They use this technique
in web farm scenarios. Here is a link that should get you going.
http://msdn2.microsoft.com/en-us/library/ms998288.aspx hope this
helps.


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 2 posts ] 
Quick reply


  

 Similar topics
 login using jsp
 php login form (sign-in form)
 login using sessionid or time
 Send login information
 Mile200: Removing Username, Password & Login from Header
 How to Show a message before the login ?
 php login with session
 code for login by jsp and ajax
 login using Ajax
 Login using session with php and mysql

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 1 guest



Jump to:  
Previous Question | Next Question 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team