Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

steve2470

(37,457 posts)
Thu Mar 7, 2013, 07:13 PM Mar 2013

technical question about passwords and special characters

I have login passwords to many websites. I finally broke down and made each one unique and difficult.

Question: Why do some websites disallow special characters ( ! @ # $ % & and etc) and some do not ? I know that a highly obscure bulletin board does not need the same security as a banking website, but other than that, is there some technical reason ? I've also noticed that some special characters on some websites are not allowed.

Trivial question. Short paragraph or a link would be lovely. Thanks.

3 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
technical question about passwords and special characters (Original Post) steve2470 Mar 2013 OP
It probably depends on how the passwords are being stored. ManiacJoe Mar 2013 #1
The only reason a website would not allow special characters... ChromeFoundry Mar 2013 #2
thanks for the info guys ! steve2470 Mar 2013 #3

ManiacJoe

(10,136 posts)
1. It probably depends on how the passwords are being stored.
Fri Mar 8, 2013, 12:25 AM
Mar 2013

For example, many of the special characters have meanings in SQL and other database languages.

ChromeFoundry

(3,270 posts)
2. The only reason a website would not allow special characters...
Fri Mar 8, 2013, 12:37 AM
Mar 2013

...is simply because their development team sucks.

,./<>?;':"[]{}\|!@#$%^&*()-=_+

Websites "should" actually promote the need for special characters because they are harder to crack.
The underscore (_), percent sign (%) and asterisk (*) characters are commonly used in databases as wildcard characters in queries. Many of the other special characters have special meanings in regular expressions, which are commonly used to validate inputs from web forms before they are submitted to the database. This is mainly to thwart cross-site scripting attacks, but there are better methods to prevent this type of attack.

Any site that does not accept special characters for logon credentials, I would seriously question my willingness to let them have any personally identifiable data because they are most likely storing your password in clear text within their database. Passwords should be stored in a one-way encrypted format. Checking for a valid password would cause the system to encrypt the password entered and compare the result against the stored value (a hash). A match accepts the credentials as authentic.

Other types of characters, such as extended ascii and unicode should also be allowed for passwords. This is very important if the site is to support multiple languages.
Latest Discussions»Help & Search»Computer Help and Support»technical question about ...