Click here to Skip to main content
15,890,438 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: ISP hacked Pin
CDP180213-Feb-12 22:44
CDP180213-Feb-12 22:44 
GeneralRe: ISP hacked Pin
Eddy Vluggen14-Feb-12 8:55
professionalEddy Vluggen14-Feb-12 8:55 
RantRe: ISP hacked PinPopular
twaindev15-Feb-12 0:30
twaindev15-Feb-12 0:30 
GeneralRe: ISP hacked Pin
BobJanova15-Feb-12 1:33
BobJanova15-Feb-12 1:33 
GeneralRe: ISP hacked Pin
twaindev15-Feb-12 2:09
twaindev15-Feb-12 2:09 
GeneralRe: ISP hacked Pin
BobJanova15-Feb-12 2:38
BobJanova15-Feb-12 2:38 
GeneralRe: ISP hacked Pin
BrainiacV15-Feb-12 6:35
BrainiacV15-Feb-12 6:35 
GeneralRe: ISP hacked Pin
KP Lee15-Feb-12 13:45
KP Lee15-Feb-12 13:45 
The fact that the password can be retrieved even 1 millisecond after it is set indicates a complete lack of knowledge on secure data storage. Snail mail, e-mail, it's outrageous that the password can be sent at all.

I am NOT AT ALL concerned about UTF8 being used, but I am concerned about HOW it is used. The fact that "secure" measures were implemented immediately after the hack was found indicates there aren't secure measures available, period.

Say “password” is your password. (I know, it's really bad that it is an allowed password.)

You type password on your SSL site, the public key encrypts it and sends what looks like garbage on the net across to the service, the private key the service knows decrypts it back to password. It then sends “280938dkl;sideruos,xa]s[04938udkj.fhwsyJFLGJDK09sjdklkeru.xx” as the (bogus example of an) encryption key to the database. “password” is never stored anywhere.

The service and the database are on a private internet connection, so the key is never exposed. UTF8 is used to define the key. You don't need to even store the encryption key, but if you don't, when the customer forgets his password, all his data is lost forever.

So, on his account table, you store the encryption key as an encrypted field using a “secure” company password

It takes time to set up that kind of secure process if it isn't in place. The fact they “fixed” it so quickly means they don't plan on really fixing it, ever.
GeneralRe: ISP hacked Pin
Wartickler16-Feb-12 5:06
Wartickler16-Feb-12 5:06 
GeneralRe: ISP hacked Pin
Luc Pattyn14-Feb-12 14:37
sitebuilderLuc Pattyn14-Feb-12 14:37 
GeneralRe: ISP hacked Pin
Pascal Ganaye15-Feb-12 1:01
Pascal Ganaye15-Feb-12 1:01 
GeneralRe: ISP hacked Pin
OriginalGriff15-Feb-12 1:34
mveOriginalGriff15-Feb-12 1:34 
GeneralRe: ISP hacked Pin
Pascal Ganaye15-Feb-12 23:34
Pascal Ganaye15-Feb-12 23:34 
GeneralRe: ISP hacked Pin
OriginalGriff15-Feb-12 23:42
mveOriginalGriff15-Feb-12 23:42 
GeneralRe: ISP hacked Pin
Ashish Tyagi 4015-Feb-12 1:07
Ashish Tyagi 4015-Feb-12 1:07 
JokeRe: ISP hacked PinPopular
NOD32 user15-Feb-12 1:13
NOD32 user15-Feb-12 1:13 
GeneralRe: ISP hacked Pin
Jwalant Natvarlal Soneji15-Feb-12 1:33
Jwalant Natvarlal Soneji15-Feb-12 1:33 
GeneralRe: ISP hacked Pin
Eddy Vluggen15-Feb-12 5:03
professionalEddy Vluggen15-Feb-12 5:03 
GeneralRe: ISP hacked Pin
Fabio Franco15-Feb-12 2:00
professionalFabio Franco15-Feb-12 2:00 
GeneralRe: ISP hacked Pin
Eddy Vluggen15-Feb-12 5:04
professionalEddy Vluggen15-Feb-12 5:04 
GeneralRe: ISP hacked Pin
Fabio Franco15-Feb-12 5:06
professionalFabio Franco15-Feb-12 5:06 
GeneralRe: ISP hacked Pin
Eddy Vluggen15-Feb-12 5:21
professionalEddy Vluggen15-Feb-12 5:21 
GeneralRe: ISP hacked Pin
Fabio Franco15-Feb-12 6:12
professionalFabio Franco15-Feb-12 6:12 
GeneralRe: ISP hacked Pin
Eddy Vluggen15-Feb-12 6:43
professionalEddy Vluggen15-Feb-12 6:43 
GeneralRe: ISP hacked Pin
Fabio Franco15-Feb-12 7:35
professionalFabio Franco15-Feb-12 7:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.