Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Html Tags > Re: New Input t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 35 of 40 Topic 438 of 439
Post > Topic >>

Re: New Input type proposal

by Disco Octopus <disco@[EMAIL PROTECTED] > Jan 10, 2008 at 02:41 PM

On Jan 11, 3:13 am, Alexander Mueller <noem...@[EMAIL PROTECTED]
> wrote:
> Ben C wrote:
>
> > I was referring to the common practice of using one pet's name as a
> > password.
>
> Sorry, didnt notice the pun :).
>
>
>
> > Some point in that yes, but really users shouldn't use the same
password
> > for different sites, or at least, should use one password for
> > low-security unim****tant sites and a different one for bank accounts.
>
> I agree, but thats another point and they usually use the same password
> for different sites.
>
>
>
> > How does munging alter that situation? If he can replay the first
access
> > (by getting hold of the hash used) then won't he just get his very own
> > replaysalt in just the same way?
>
> > Can you describe an example, step-by-step, of a session in which the
> > replaysalt provides some benefit that one-time session numbers don't?
>
> 1.) The user requests a site.
> 2.) The server sends the login form, issues a random replay salt and
> stores it in a session.
> 3.) The user enters the necessary information.
> 4.) The browser hashes the entered password and hashes the result once
> more with the replay salt.
> 5.) The server hashes the stored hash with the previously issued replay
> salt and compares the result to the given value.
>
> Alexander


Hi Alexander,

For clarity of my own mind, I have painted it out in colour.   Could
you confirm that this is the idea...


Assuming a clear password is stored in a database/file on the server
with the username as the key to the password table.
eg...
UserName        Password
ralphmalph      fido
discooctopus    secret
bill            momoney

1. Web client requests a login page.
2. Server creates a session with a session id
3. Server creates a salt value (available for this session only) (eg.
"D8SD67586DF987FD")
4. Server creates the login page with the value as such....
    <input type="hash" hash="md5" salt="D8SD67586DF987FD"
replaysalt="" />
    ... and serves the web page
5. Web user enters his login details as username of "discooctopus"
with a password of "secret"
6. Web browser encrypts the password using md5 with the salt
"D8SD67586DF987FD"
7. Web browser posts the login details (user name and hashed password
only (not the salt)) to the server.
8. The server then does this...
   i.  lookup the given user 'discooctpus' from the database.  The
result is the password of 'secret'
   ii. this value of 'secret' is encrypted using md5 with the salt
"D8SD67586DF987FD"
   iii. Check to see if the encryptes value is the same as the hash
value posted from the web client.



Does this capture your idea simply?
 




 40 Posts in Topic:
New Input type proposal
Alexander Mueller <noe  2008-01-09 18:23:48 
Re: New Input type proposal
"J.O. Aho" <  2008-01-09 18:44:26 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-09 18:52:44 
Re: New Input type proposal
"J.O. Aho" <  2008-01-09 19:27:54 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-09 19:31:43 
Re: New Input type proposal
Jeff <jeff@[EMAIL PROT  2008-01-09 13:41:30 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-09 19:52:30 
Re: New Input type proposal
Harlan Messinger <hmes  2008-01-09 14:08:14 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-09 20:18:07 
Re: New Input type proposal
Harlan Messinger <hmes  2008-01-09 15:15:44 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-09 22:12:49 
Re: New Input type proposal
Harlan Messinger <hmes  2008-01-09 16:36:58 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-09 22:43:37 
Re: New Input type proposal
Harlan Messinger <hmes  2008-01-10 18:05:34 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-11 00:35:42 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-11 01:52:14 
Re: New Input type proposal
Harlan Messinger <hmes  2008-01-10 23:00:47 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-11 13:05:25 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-09 18:58:22 
Re: New Input type proposal
Harlan Messinger <hmes  2008-01-09 14:02:20 
Re: New Input type proposal
richard <I.dont.care@[  2008-01-09 12:57:33 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-09 19:00:20 
Re: New Input type proposal
Disco Octopus <disco@[  2008-01-09 12:52:55 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-09 22:38:43 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-09 22:22:57 
Re: New Input type proposal
Ben C <spamspam@[EMAIL  2008-01-09 16:33:57 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-10 01:03:10 
Re: New Input type proposal
Ben C <spamspam@[EMAIL  2008-01-10 04:02:03 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-10 12:10:00 
Re: New Input type proposal
Ben C <spamspam@[EMAIL  2008-01-10 09:41:04 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-10 17:13:00 
Re: New Input type proposal
Ben C <spamspam@[EMAIL  2008-01-10 16:07:54 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-10 23:31:45 
Re: New Input type proposal
Ben C <spamspam@[EMAIL  2008-01-11 02:34:32 
Re: New Input type proposal
Disco Octopus <disco@[  2008-01-10 14:41:46 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-11 00:23:09 
Re: New Input type proposal
Andy Dingley <dingbat@  2008-01-11 03:33:40 
Re: New Input type proposal
Alexander Mueller <noe  2008-01-23 15:03:06 
Re: New Input type proposal
Neredbojias <monstersq  2008-01-23 16:34:11 
Re: New Input type proposal
Travis Newbury <Travis  2008-01-23 08:36:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 14:56:10 CDT 2008.