What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Encryption VB.NET

Encryption VB.NET
Author: Message:
Adeptus
Senior Member
****


Posts: 732
Reputation: 40
Joined: Oct 2005
RE: Encryption VB.NET
Hi,

If you are talking about logon using ASP.NET forms authentication, the framework already gives you everything you need.

1) If you are storing passwords in a database or config file, you want to hash them.   HashPasswordForStoringInConfigFile() method exists for that if you are implementing forms authentication the old way.  If you are using ASP.NET 2.0 membership providers, the passwords are stored as SHA-1 hashes by default, but you can choose another algorithm.

2) Encrypt and sign your authentication tickets.  This is accomplished by forms protection="All" in your configuration.  That and other related topics are covered  here.

3) The transport should use encryption, so that your credentials can't be sniffed by somebody along the way -- if you haven't already, set the web server up to support HTTPS. 

09-28-2006 03:15 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Encryption VB.NET - by Di6iT4L on 09-28-2006 at 12:43 PM
RE: Encryption VB.NET - by Adeptus on 09-28-2006 at 03:15 PM
RE: Encryption VB.NET - by Di6iT4L on 09-28-2006 at 04:22 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On