Re:What should every programmer know about security?
by ww520 on Monday May 07, 2012 @02:12PM
(#3940184)
I don't quite understand number 3? Can you elaborate number 3 a bit? How is that being used? Can SSL do the same thing? Or do you mean preventing CSRF kind of attack?
[ Parent
| on HN ]
Re:What should every programmer know about security?
by kirinan on Monday May 07, 2012 @02:23PM
(#3940231)
Multi Factor authentication is basically using multiple factors to authenticate a user, like texting a number to the person's cellphone to authenticate them if they are visiting from a IP that is not familiar with the system. Its basically using a second piece of information besides a password to ensure that a user is who they say they are. The sending a text message with a number is a real popular way of doing this. Think as well as a pin and a credit card at an ATM. Sure you have to use your ATM card at the ATM to prove your identity but you also have to use a PIN to add an extra layer of security. This significantly reduces the risk of a breach on someones account.
Re:What should every programmer know about security?
by saintfiends on Monday May 07, 2012 @03:01PM
(#3940445)
Parent was asking about No. 3, you just explained No. 4?
Re:What should every programmer know about security?
by kirinan on Monday May 07, 2012 @07:32PM
(#3941423)
My previous reply was bad, and for that I apologize. Yes, use application keys for your services/controller to make sure that it indeed an app. This prevents session spoofing and CSRF. Rails does this automatically, so do a lot of other frameworks/languages so it isnt a big deal, but some people use services built on Scala or another language without frameworks, so they tend to be susceptible.
Re:What should every programmer know about security?
by elorant on Monday May 07, 2012 @02:23PM
(#3940232)
He's probably talking about session hijacking
https://en.wikipedia.org/wiki/Session_hijacking