The Straight Dope

Go Back   Straight Dope Message Board > Main > General Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 05-09-2003, 08:17 PM
Mr. Blue Sky Mr. Blue Sky is offline
Guest
 
Join Date: May 1999
Question about passwords

Because of security reasons, passwords have become more complicated. Some are case sensitive, some require numbers, etc.

Why couldn't you allow non-symbolic characters like a backspace? Or could you?
Reply With Quote
  #2  
Old 05-09-2003, 08:31 PM
JRootabega JRootabega is offline
Guest
 
Join Date: Sep 2001
It is not inherently impossible. In some environments pressing backspace actually does produce a character that you don't see directly; it just suppresses display of other characters. There is no fundamental law of the universe that says you can't have invisible characters in your password. As long as you get the same invisible characters in there when you authenticate you'd be golden.

But there are two big problems -- not every character IO system treats keys like backspace the same way. Sometimes you get a backspace character. Sometimes whatever you are editing is manipulated directly and characters are actually removed. Sometimes metacharacters are parsed out of your input before whatever application you use sees them, and sometimes the application sees them. To avoid headaches like this invisible characters are prohibited.

Secondly, how would your password input system know when you meant to have a backspace character and when you wanted to get rid of a separate character?
Reply With Quote
  #3  
Old 05-09-2003, 08:48 PM
sajwalke sajwalke is offline
Guest
 
Join Date: Apr 2003
A friend of mine used/uses a non-breaking space in his password. I forget which ascii character it is, but it's good because most people wouldn't guess it. It only worked for some passwords IIRC.
Reply With Quote
  #4  
Old 05-09-2003, 11:09 PM
Some Guy Some Guy is offline
Guest
 
Join Date: Oct 2000
Under Unix (and thus under Linux) it's technically possible to use any ASCII value from 1-126 as a password character. However, it isn't necessarily a good idea to use non-printing characters if you are going to have to log in from multiple locations, since it might not be possible to reproduce them with some interfaces. In particular, backspace isn't allowed because you have to be able to backspace (duh).
Reply With Quote
  #5  
Old 05-10-2003, 04:23 AM
brianmelendez brianmelendez is offline
Charter Member
 
Join Date: Jan 2003
Location: Minneapolis, Minn.
Posts: 1,189
I have used a non-printing ASCII character with a value as high as 255 in my password.
Reply With Quote
  #6  
Old 05-10-2003, 08:38 AM
xash xash is offline
Ogministrator
Administrator
 
Join Date: Jan 2001
Location: Palo Alto, CA
Posts: 4,131
Alt-255 used to be a popular choice of character included in a dos directory name to keep it from being accessible by others.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:50 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Send questions for Cecil Adams to: cecil@chicagoreader.com

Send comments about this website to: webmaster@straightdope.com

Terms of Use / Privacy Policy

Advertise on the Straight Dope!
(Your direct line to thousands of the smartest, hippest people on the planet, plus a few total dipsticks.)

Publishers - interested in subscribing to the Straight Dope?
Write to: sdsubscriptions@chicagoreader.com.

Copyright © 2013 Sun-Times Media, LLC.