Login / Register

User Name
Password

Search



Advanced Search

Advertisers

How do Passwords Work?


Tags
passwords

Reply
 
Tools Rate
  #1  
Old 11-04-2007, 07:40 PM
Registered User
 
Join Date: Mar 2006
Posts: 919
goodkarma is a jewel in the roughgoodkarma is a jewel in the roughgoodkarma is a jewel in the roughgoodkarma is a jewel in the rough
How do Passwords Work?

When we sign up with a user id on any forum, we need a p/w and typically, you get that p/w approved or not within seconds.

How does that work and do the owners of most sites have access to our passwords?

I ask becasue my mother uses the same password for everything and I worry someone can snoop and use it.

Last edited by goodkarma; 11-04-2007 at 07:41 PM. Reason: add on
Reply With Quote
  #2  
Old 11-04-2007, 07:44 PM
Registered User
 
Join Date: Mar 2006
Posts: 919
goodkarma is a jewel in the roughgoodkarma is a jewel in the roughgoodkarma is a jewel in the roughgoodkarma is a jewel in the rough
Ladies also, beware of letting a geek look at your computer before you are savvy enough not to know how passwords can be stored like when using 'Fire Fox.
Reply With Quote
  #3  
Old 11-04-2007, 07:52 PM
PDLM's Avatar
Registered User
 
Join Date: Jun 2005
Location: Hong Kong
Posts: 6,875
PDLM has a reputation beyond reputePDLM has a reputation beyond reputePDLM has a reputation beyond reputePDLM has a reputation beyond reputePDLM has a reputation beyond reputePDLM has a reputation beyond reputePDLM has a reputation beyond reputePDLM has a reputation beyond reputePDLM has a reputation beyond reputePDLM has a reputation beyond reputePDLM has a reputation beyond repute
Quote:
Originally Posted by goodkarma View Post
Ladies also, beware of letting a geek look at your computer before you are savvy enough not to know how passwords can be stored like when using 'Fire Fox.
I nominate this for "Sexist Post of the Week"
Reply With Quote
  #4  
Old 11-04-2007, 09:58 PM
Sunfire's Avatar
Registered User
 
Join Date: Aug 2006
Location: Quarry Bay
Posts: 160
Sunfire is just really niceSunfire is just really niceSunfire is just really niceSunfire is just really nice
Usually passwords are stored as hashes. For example, if I was to choose my password as 'geoexpat' and the hash function was md5, when I enter 'geoexpat', the md5sum calculator outputs 'b85133301db8ec2d3eb9314f737821b3'. That is a hash sum.

You can't reverse the process and somehow get the password out of the hash sum, but every time you enter your password, a hash sum is calculated out of what you type in, and if it matches the stored one, your password is considered correct.

So in short, unless the passwords are stored as plain text (which you usually have no way of knowing, but it most likely isn't the case), the system administrator can't just see what password each user has. He would have to have what's called a dictionary, which is a list of calculated hash sums for every possible password. That's obviously a lot of trouble just to see your dear mother's password
Reply With Quote
  #5  
Old 11-04-2007, 10:08 PM
Registered User
 
Join Date: Mar 2006
Posts: 919
goodkarma is a jewel in the roughgoodkarma is a jewel in the roughgoodkarma is a jewel in the roughgoodkarma is a jewel in the rough
Thanks for the serious response.

Very interesting.
Reply With Quote
  #6  
Old 11-04-2007, 10:32 PM
KnowItAll's Avatar
Resident Peacekeeper
 
Join Date: Apr 2003
Location: Pokfulam
Age: 40
Posts: 11,082
KnowItAll has a reputation beyond reputeKnowItAll has a reputation beyond reputeKnowItAll has a reputation beyond reputeKnowItAll has a reputation beyond reputeKnowItAll has a reputation beyond reputeKnowItAll has a reputation beyond reputeKnowItAll has a reputation beyond reputeKnowItAll has a reputation beyond reputeKnowItAll has a reputation beyond reputeKnowItAll has a reputation beyond reputeKnowItAll has a reputation beyond repute
We use a md5sum(md5sum($password)+$salt) .... go figure.
Reply With Quote
  #7  
Old 11-04-2007, 11:16 PM
Sunfire's Avatar
Registered User
 
Join Date: Aug 2006
Location: Quarry Bay
Posts: 160
Sunfire is just really niceSunfire is just really niceSunfire is just really niceSunfire is just really nice
Ah yes, sorry. Forgot about the salt
Reply With Quote
  #8  
Old 11-04-2007, 11:25 PM
Registered User
 
Join Date: Mar 2006
Posts: 919
goodkarma is a jewel in the roughgoodkarma is a jewel in the roughgoodkarma is a jewel in the roughgoodkarma is a jewel in the rough
Aww gee, I love it when you talk all tech like
Reply With Quote
  #9  
Old 11-04-2007, 11:49 PM
Registered User
 
Join Date: Dec 2006
Location: Soho, Hong Kong
Age: 32
Posts: 364
Monde is a jewel in the roughMonde is a jewel in the roughMonde is a jewel in the rough
Mostly it is stored as a hash character set or in a front end application as *'s.

90% of the time if you forget your password the admin cannot give it to you but can reset it for you.
Reply With Quote
  #10  
Old 13-04-2007, 07:09 PM
Registered User
 
Join Date: Apr 2006
Posts: 676
hk.com is a glorious beacon of lighthk.com is a glorious beacon of lighthk.com is a glorious beacon of lighthk.com is a glorious beacon of lighthk.com is a glorious beacon of light
Quote:
Originally Posted by Sunfire View Post
Ah yes, sorry. Forgot about the salt
To put people last few people who are awake to sleep, you could discuss how cryptographically HASH's are one way functions that mathematically can not reversed. Do this preferably in a lengthy and tedious manner.

Reply With Quote
Reply
Similar Threads
Thread Forum
Work visa...how does it work?! Immigration and Visas
Removing passwords Technology & Gadgets


Tools
Rate This Thread
Rate This Thread:


All times are GMT +8. The time now is 03:22 AM.