How to remember a trusted machine using two factor authentication (like Google’s system)

We are developing a web application that will use two factor authentication. We are likely to try and emulate something similar to that used by google, where to login you enter a username and password, and then receive a token in an SMS me… Continue reading How to remember a trusted machine using two factor authentication (like Google’s system)

How to protect against clickjacking attack but allow legit iframes?

I’m aware of modern anti-clickjacking approaches, such as X-Frame-Options header or framekiller scripts. But all these tactics prevent content to be inside iframe. But what if there is a requirement for content to be in iframe, such as Twi… Continue reading How to protect against clickjacking attack but allow legit iframes?