IFrame authentication

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default IFrame authentication

    dear community,

    I'm creating a .Net web portal application that will host other web
    applications. This is a C# web app with .Net Framework 1.1 SP1, running on
    Windows 2003 servers. These other applications may require authentication or
    not, and I may have control (=source code) over these applications or not.

    These applications will be such as a Windows Sharepoint Services site, an
    other web application in the same domain, or a 3rd party application on an
    external domain requiring Basic authentication.
    The web portal will work using forms authentication, and it will manage the
    users from start to end; I mean, it will know the username & password for a
    user for all the application he/she will need to access: Windows account for
    Sharepoint, etc.


    The idea is to have the 'hosted' application running in a IFrame, so that I
    can keep my portal navigation around it.


    The problem is how to automatically authenticate the user on the targetted
    application, running in the IFrame. For basic authentication it used to be
    possible to use the [url]http://username:password@site.address.tldn[/url], but that no
    longer works as this has been patched away in IE6.


    For a better user experience, I want to seamlessly authenticate my users
    across all applications.... and can't get round to do it, and I'm wondering
    now if that's possible at all, especially for the applications that I do not
    control; a shame since I fully know the login credentials!

    I've searched the various newsgroups, and there seems to be a lot of similar
    request but couldn't find, or understand, a reply to my exact problem.

    Can anybody help??? Thanks!

    Best regards,
    Arnaud Richard
    Arno Richard Guest

  2. Similar Questions and Discussions

    1. iFrame
      Is there an easy way to create an iFrame in Dreamweaver MX?
    2. IFRAME and query
      I have an iframe that I want to display a different query when the user clicks on an item. <iframe name='contentFRM' id='contentFRM' width='0'...
    3. [JS] iFrame.
      God morning... I need to resize a iframe based in your content, but when a try it, i receive a error message Access Denied. Anybody know how...
    4. Problem with Web Forms authentication in IFrame.
      I have a ASP.NET web page that I have implemented using Web Forms authentication. It seems to work pretty good except for one problem which I am...
    5. <IFRAME>
      Hi all. I'm having to use <IFRAME> for a scrolling area for a client 'cos they don't want any Flash on the site. They want the scrollbar to be...
  3. #2

    Default RE: IFrame authentication

    Maybe this article might help:

    [url]http://www.rassoc.com/gregr/weblog/stories/2002/07/09/webServicesSecurityHttpDigestAuthenticationWithout ActiveDirectory.html[/url]

    "Arno Richard" wrote:
    > dear community,
    >
    > I'm creating a .Net web portal application that will host other web
    > applications. This is a C# web app with .Net Framework 1.1 SP1, running on
    > Windows 2003 servers. These other applications may require authentication or
    > not, and I may have control (=source code) over these applications or not.
    >
    > These applications will be such as a Windows Sharepoint Services site, an
    > other web application in the same domain, or a 3rd party application on an
    > external domain requiring Basic authentication.
    > The web portal will work using forms authentication, and it will manage the
    > users from start to end; I mean, it will know the username & password for a
    > user for all the application he/she will need to access: Windows account for
    > Sharepoint, etc.
    >
    >
    > The idea is to have the 'hosted' application running in a IFrame, so that I
    > can keep my portal navigation around it.
    >
    >
    > The problem is how to automatically authenticate the user on the targetted
    > application, running in the IFrame. For basic authentication it used to be
    > possible to use the [url]http://username:password@site.address.tldn[/url], but that no
    > longer works as this has been patched away in IE6.
    >
    >
    > For a better user experience, I want to seamlessly authenticate my users
    > across all applications.... and can't get round to do it, and I'm wondering
    > now if that's possible at all, especially for the applications that I do not
    > control; a shame since I fully know the login credentials!
    >
    > I've searched the various newsgroups, and there seems to be a lot of similar
    > request but couldn't find, or understand, a reply to my exact problem.
    >
    > Can anybody help??? Thanks!
    >
    > Best regards,
    > Arnaud Richard
    Jorge Matos Guest

  4. #3

    Default RE: IFrame authentication

    hi Jorge,

    Thanks for taking the time to reply; the article you're pointing out is
    really interesting and I may be able to use this technique in the future, but
    unfortunately this doesn't solve my immediate problem.
    What I really need to do is to pre-authenticate in the IFrame for an
    application that I will switch to, and on which I don't have any control,
    except that I know a valid username & password for it, and don't want the
    login box to appear... and this external application may not necessarily be
    written in .NET, can be anything.

    FYI, there's a good trick at
    [url]http://www.speerio.net/Default.aspx?tabid=758&ctl=ViewEntry&EntryID=6&mid =1443[/url]
    if you want to seamlessly post some authentication information from an IFrame.


    Arnaud

    "Jorge Matos" wrote:
    > Maybe this article might help:
    >
    > [url]http://www.rassoc.com/gregr/weblog/stories/2002/07/09/webServicesSecurityHttpDigestAuthenticationWithout ActiveDirectory.html[/url]
    >
    > "Arno Richard" wrote:
    [ c l i p p e d]
    > > The problem is how to automatically authenticate the user on the targetted
    > > application, running in the IFrame. For basic authentication it used to be
    > > possible to use the [url]http://username:password@site.address.tldn[/url], but that no
    > > longer works as this has been patched away in IE6.
    > >
    > > For a better user experience, I want to seamlessly authenticate my users
    > > across all applications.... and can't get round to do it, and I'm wondering
    > > now if that's possible at all, especially for the applications that I do not
    > > control; a shame since I fully know the login credentials!
    [ c l i p p e d]

    Arno Richard Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139