Total members 11894 |It is currently Sun Nov 24, 2024 9:02 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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?




Author:
Proficient
User avatar Posts: 280
Have thanks: 1 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.
Code:
http://msdn2.microsoft.com/en-us/library/ms998288.aspx
hope this
helps.

_________________
Please recommend my post if you found it helpful


Author:
Proficient
User avatar Posts: 228
Have thanks: 0 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : ASP.NET 2.0 Login Controls
 develop a login page- login servlet - ServletContext     -  
 Customer Controls System in Java     -  
 login using jsp     -  
 php login with session     -  
 Ajax Login     -  
 login using Ajax     -  
 Send login information     -  
 login using sessionid or time     -  
 code for login by jsp and ajax     -  
 Cookie based login in php     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com