Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old September 5th, 2008, 04:35 PM
Oriane
Guest
 
Posts: n/a
Default A simple security question

Hi,

With Asp.net 2.0, when a internet user logs in with a "login authentication
form", is the password encrypted when it is sent to the server ? Is is
hashed ?

Best regards

  #2  
Old September 5th, 2008, 09:45 PM
darrel
Guest
 
Posts: n/a
Default Re: A simple security question

With Asp.net 2.0, when a internet user logs in with a "login
Quote:
authentication form", is the password encrypted when it is sent to the
server ?
Via HTTP? No.

Via HTTPS? Yes.

-Darrel

  #3  
Old September 6th, 2008, 02:55 PM
Keith G Hicks
Guest
 
Posts: n/a
Default Re: A simple security question

Darrel didn't answer your questoin fully. You asked hashed or encrypted. My
understanding is that hashed strings can't be unhashed (not meant to be
anyway unless the hash as been cracked). I'm sure HTTPS is encrypting, not
hashing. Passwords or any other data that's sent via HTTPS would have to be
decrypted on the other side. The only way to "un"hash a password is to use
the same salt to hash the one on the other end and see if they match. Not
really unhashing at all. Does that make sense? If I'm wrong, I'm sure
someone will jump in and say so. :-)


"Oriane" <oriane@noemail.noemailwrote in message
news:#43GOw2DJHA.4676@TK2MSFTNGP05.phx.gbl...
Quote:
Hi,
>
With Asp.net 2.0, when a internet user logs in with a "login
authentication
Quote:
form", is the password encrypted when it is sent to the server ? Is is
hashed ?
>
Best regards
>

  #4  
Old September 8th, 2008, 04:45 AM
Steven Cheng [MSFT]
Guest
 
Posts: n/a
Default RE: A simple security question

Hi Oriane,

Regarding on your question, I think the answer is:

Without using any transport layer security approach(such as SSL/TLS), the
password(just like any other textbox field on page) are send via clear text
without any encrypting or hashing.

If you use basic authentication of HTTP protocol, by default it also only
perform a base64 encoding which is easy to decode. Therefore, if
security(confidentiality) is critical for your case, you should consider
apply SSL/TLS(https) on the login entry.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
Quote:
>From: "Oriane" <oriane@noemail.noemail>
>Subject: A simple security question
>Date: Fri, 5 Sep 2008 17:27:55 +0200
Quote:
>Hi,
>
>With Asp.net 2.0, when a internet user logs in with a "login
authentication
Quote:
>form", is the password encrypted when it is sent to the server ? Is is
>hashed ?
>
>Best regards
>
>
  #5  
Old September 8th, 2008, 07:35 AM
Oriane
Guest
 
Posts: n/a
Default Re: A simple security question

Hi Keith,

----- Original Message -----
From: "Keith G Hicks" <krh@comcast.net>
Newsgroups: microsoft.public.dotnet.framework.aspnet
Sent: Saturday, September 06, 2008 3:49 PM
Subject: Re: A simple security question

Quote:
Darrel didn't answer your questoin fully. You asked hashed or encrypted.
My
understanding is that hashed strings can't be unhashed (not meant to be
anyway unless the hash as been cracked). I'm sure HTTPS is encrypting, not
hashing. Passwords or any other data that's sent via HTTPS would have to
be
decrypted on the other side.
I don't agree ! In the sql database, only the hashed password is saved (by
default). So you don't necessarily need to send the clear password if you
hash it with the same algorithm on the client. But in fact you are right, as
Steven says, hashing is performed on the server.
Quote:
The only way to "un"hash a password is to use
the same salt to hash the one on the other end and see if they match. Not
really unhashing at all. Does that make sense? If I'm wrong, I'm sure
someone will jump in and say so. :-)
Thanks for your answer

  #6  
Old September 8th, 2008, 07:35 AM
Oriane
Guest
 
Posts: n/a
Default Re: A simple security question

Thank you Steven
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles