Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Special Chars and Quotations

Status
Not open for further replies.

jl8789

MIS
May 22, 2003
293
US
I want to be able to handle special characters and the ' " marks in my password application. I can insert the special characters using Oracle through the back end, so I should be able to do this thru the GUI using ColdFusion.

1) How will I handle it when they may have &,#,'or" entered in their password string? Is there some encoding thing I can use like the URLEncodedFormat?

Thank You!!
 
jl8789, chances are its breaking when you try to check against the dB in your SELECT statements (or in the INSERT INTO statements). You can use regEX to try to work around it. A quick google search yielded:

(scroll down to the comments some users have solutions about this)


I don't think you should allow users to enter special chars anyway. If you must make sure the passwords are not easilty guessable, make sure the passwords have letters and numbers in them.


____________________________________
Just Imagine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top