Is it a bad idea to have a login dialog inside an iframe?
        Posted  
        
            by AyKarsi
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by AyKarsi
        
        
        
        Published on 2010-04-24T08:26:08Z
        Indexed on 
            2010/04/24
            8:33 UTC
        
        
        Read the original article
        Hit count: 307
        
iframe
|authentication
We're creating a website where we will be giving out code snippets to our users which they can place on their own websites. These snippets contain a link a javascript include. When clicking the link, an iframe containing the login dialog to our site opens. The user then authenticates inside the iframe, does his work and when he leaves the iframe his session is closed. We've got it working allready and it's very slick.
Our main concern though is phishing. The user has absolutely now way of veryifying where the login page is really coming from. On the other hand, phising attacks are also succesfull even if the user can see the fake-url in the address bar.
Would you enter your (OpenId) credentials in an iframe? Does anyone know a pattern with which we could minimise the chances of a phishing attack?
© Stack Overflow or respective owner