If you want true security you should be salting and md5ing/sha1 the passwords multiple times.
........which is what i am doing....
and passwords are in md5 + another enc type
it isn't live yet but the files on my computer right now use the multi-pass encryption - obviously the last is md5. And yes when i say virtually uncrackable i mean it... try cracking hash of a base64 string or sha1. It is almost guarenteed to have something more than jusut lowercase letters on the home row, and last time i checked c&a takes around 1e100 years (+/- 1e100 years of course) to crack this.
I appreciate the help, but i already got that taken care of :-).
What i've come to see is that xss and sql injections are the most comon exploits - please correct me if i'm wrong. To stop the xss, i would use some kind of code like (excuse the crudeness... and possible syntax errors)
if ((strstr($input, 'javascript') || strstr($input, 'void') || strstr($input, 'script') || strstr($input, 'http'))){
//send the user back
exit();
}
or is there already a php function like mysql_real_escape_string? I know about striptags, but does that cover it?
Also should it go
mysql_real_escape_string(strip_tags($input));
or
strip_tags(mysql_real_escape_string($input));
?
-Tom