Click here to Skip to main content
15,920,217 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: Oh man... Pin
Yusuf21-Apr-08 3:18
Yusuf21-Apr-08 3:18 
GeneralRe: Oh man... PinPopular
Thomas Krojer21-Apr-08 3:37
Thomas Krojer21-Apr-08 3:37 
JokeRe: Oh man... Pin
Spacix One21-Apr-08 12:11
Spacix One21-Apr-08 12:11 
GeneralRe: Oh man... Pin
Marc Clifton22-Apr-08 2:24
mvaMarc Clifton22-Apr-08 2:24 
GeneralRe: Oh man... Pin
David St. Hilaire22-Apr-08 10:44
David St. Hilaire22-Apr-08 10:44 
GeneralRe: Oh man... Pin
Yusuf22-Apr-08 11:55
Yusuf22-Apr-08 11:55 
GeneralRe: Oh man... Pin
MarkB77722-Apr-08 12:14
MarkB77722-Apr-08 12:14 
GeneralJust set Auth to true [modified] PinPopular
Broken Bokken17-Apr-08 3:15
Broken Bokken17-Apr-08 3:15 
I worked for a company once where we were developing a website where the powers that be wanted the site to be ultra secure. For whatever reason, they decided to go with a secuirty option offered by a company I'll just call SecuriCorp. SecuriCorp specialized in using a dongle with your website to authenticate. There are no user names, no passwords. I wasn't on the project, but heard all about it since it was the biggest project in the company. Each dongle had hardware set 6 digit keys and every time you pressed a button the next key would come up. The software knew what keys each dongle had and in what order they would appear. Once you logged in with a key, you couldn't use that key or any of the other keys on that dongle (thus eliminating dongle sharing). It seemed like a great idea, until one of the software architects for the project started to look in to how SecriCorp's security model worked. (Coincidentally, this architect was dubbed the "Dongle Doctor")

Their ultra security was setting a plaintext cookie named "Auth" with the value "true" Needless to say, the s$%# hit the fan. From that day on, any time on any project if you talked about security, someone would say "Just set Auth to true." When I left the company shortly after that, they were still in the midst of fighting with SecuriCorp to fix their "security" model.

Broken Bokken

http://www.brokenbokken.com

modified on Thursday, April 17, 2008 9:28 AM

GeneralRe: Just set Auth to true Pin
CPallini17-Apr-08 3:26
mveCPallini17-Apr-08 3:26 
GeneralRe: Just set Auth to true Pin
Yusuf17-Apr-08 3:48
Yusuf17-Apr-08 3:48 
GeneralRe: Just set Auth to true Pin
Maruf Maniruzzaman19-Apr-08 21:40
Maruf Maniruzzaman19-Apr-08 21:40 
GeneralRe: Just set Auth to true Pin
Broken Bokken22-Apr-08 2:30
Broken Bokken22-Apr-08 2:30 
GeneralRe: Just set Auth to true Pin
MrPlankton19-Apr-08 22:39
MrPlankton19-Apr-08 22:39 
GeneralRe: Just set Auth to true Pin
elektrowolf3-May-08 2:24
elektrowolf3-May-08 2:24 
GeneralWriteOnly Pin
The Cake of Deceit16-Apr-08 8:47
The Cake of Deceit16-Apr-08 8:47 
GeneralRe: WriteOnly Pin
PIEBALDconsult16-Apr-08 9:43
mvePIEBALDconsult16-Apr-08 9:43 
GeneralRe: WriteOnly Pin
The Cake of Deceit16-Apr-08 12:00
The Cake of Deceit16-Apr-08 12:00 
GeneralRe: WriteOnly Pin
MarkB77716-Apr-08 13:23
MarkB77716-Apr-08 13:23 
GeneralRe: WriteOnly Pin
Baixinho16-Apr-08 23:35
Baixinho16-Apr-08 23:35 
GeneralRe: WriteOnly Pin
MarkB77717-Apr-08 0:47
MarkB77717-Apr-08 0:47 
GeneralRe: WriteOnly Pin
Dan Neely17-Apr-08 2:28
Dan Neely17-Apr-08 2:28 
GeneralRe: WriteOnly Pin
Anton Afanasyev17-Apr-08 9:40
Anton Afanasyev17-Apr-08 9:40 
GeneralRe: WriteOnly Pin
Werries17-Apr-08 10:44
Werries17-Apr-08 10:44 
GeneralRe: WriteOnly Pin
The Cake of Deceit18-Apr-08 6:05
The Cake of Deceit18-Apr-08 6:05 
GeneralRe: WriteOnly Pin
elektrowolf18-Apr-08 21:40
elektrowolf18-Apr-08 21:40 

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.