Pass credentials from one web site to another for seamless login

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

  1. #1

    Default Pass credentials from one web site to another for seamless login

    I have a partner company that has a web site that I need to gain access
    through the web site in my company. I need to be able to log into my site
    and then have somekind of way to then access this other site that also
    requires a login in a way that allows me to pass a set of credentials to
    this other site which uses those credentials to log me in so that I don't
    have to log in again. The credentials that I want to pass would be a
    predetermined set of credentials based on the credentials used to login to
    my site; one for read only or one for admin priveledges.

    I am using windows authentication on my web site, and the other site is
    using session authentication using Java and Cold Fusion. The sites are on
    different networks at 2 separate companies.

    I figure what I can do is pass credentials to one of their web pages that
    creates a session for the browser, and authorizes this session as READ ONLY
    or Admin and then will redirect to the appropriate place on their site.

    Does this sound good or do I need to do something else?

    If I use this approach, what are my options to pass these credentials?

    thanks!


    TS Guest

  2. Similar Questions and Discussions

    1. Web site content determined by login credentials?
      We are an architectural firm, and we would like to integrate a secure area with a username and password on our web site that would allow our clients...
    2. Seamless Login Page with ASP Dotnet
      Hi, I'm a little new to ASP Dotnet, but have been coding in classic ASP for over 5 years... I'd appreciate some suggestions/guidance in...
    3. Login to LDAP using current credentials
      Hello, Here is my situation. I have developed several apps that require authentication to access. For authentication, I have the users enter...
    4. How to pass Windows login credentials to ActiveDirectory
      Hi, I am using windows integrated authentication for my asp.net intranet application. basically, I have to pass the windows username & password to...
    5. Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?
      I am converting an ASP Website running Windows NT 4.0 to ASP.NET running Windows 2000 on a different computer across the Internet. During this...
  3. #2

    Default RE: Pass credentials from one web site to another for seamless login

    You could pass your credentials via the query string (not necessarily a good idea), or call a web service at the other site. The web service would be responsible for authentication and authorization, setting the session information, etc.

    "TS" wrote:
    > I have a partner company that has a web site that I need to gain access
    > through the web site in my company. I need to be able to log into my site
    > and then have somekind of way to then access this other site that also
    > requires a login in a way that allows me to pass a set of credentials to
    > this other site which uses those credentials to log me in so that I don't
    > have to log in again. The credentials that I want to pass would be a
    > predetermined set of credentials based on the credentials used to login to
    > my site; one for read only or one for admin priveledges.
    >
    > I am using windows authentication on my web site, and the other site is
    > using session authentication using Java and Cold Fusion. The sites are on
    > different networks at 2 separate companies.
    >
    > I figure what I can do is pass credentials to one of their web pages that
    > creates a session for the browser, and authorizes this session as READ ONLY
    > or Admin and then will redirect to the appropriate place on their site.
    >
    > Does this sound good or do I need to do something else?
    >
    > If I use this approach, what are my options to pass these credentials?
    >
    > thanks!
    >
    >
    >
    David Coe, MCAD Guest

  4. #3

    Default Re: Pass credentials from one web site to another for seamless login

    What sort of authentication mechanism does the other site provide? Does it
    have a login screen or does it pop up a dialog in the brower?

    If it has a login screen, then in order to create an authenticated session
    with them, you are going to have to write some code (probably with
    HttpWebRequest) to do a form post to their login page. If they use a
    dialog, then you can probably authenticate with them using the appropriate
    header values (depending on how they authenticate).

    Joe K.

    "TS" <manofsteele@311.com> wrote in message
    news:eXjHfEgWEHA.712@TK2MSFTNGP11.phx.gbl...
    > I have a partner company that has a web site that I need to gain access
    > through the web site in my company. I need to be able to log into my site
    > and then have somekind of way to then access this other site that also
    > requires a login in a way that allows me to pass a set of credentials to
    > this other site which uses those credentials to log me in so that I don't
    > have to log in again. The credentials that I want to pass would be a
    > predetermined set of credentials based on the credentials used to login to
    > my site; one for read only or one for admin priveledges.
    >
    > I am using windows authentication on my web site, and the other site is
    > using session authentication using Java and Cold Fusion. The sites are on
    > different networks at 2 separate companies.
    >
    > I figure what I can do is pass credentials to one of their web pages that
    > creates a session for the browser, and authorizes this session as READ
    ONLY
    > or Admin and then will redirect to the appropriate place on their site.
    >
    > Does this sound good or do I need to do something else?
    >
    > If I use this approach, what are my options to pass these credentials?
    >
    > thanks!
    >
    >

    Joe Kaplan \(MVP - ADSI\) Guest

  5. #4

    Default RE: Pass credentials from one web site to another for seamless login

    Hello,

    I think David's suggestion should be a good idea. Is it possible in your
    solution?

    Luke

    [MSFT] Guest

  6. #5

    Default Re: Pass credentials from one web site to another for seamless login

    I can't do the webservice because the other site won't be able to do that. I
    can of course do the query string thing, but I don't want the credentials to
    be messed with.

    It seems like the easiest thing would be to use the httpwebrequest as joe
    pointed out, otherwise I would have to encrypt the data in q string and the
    other site would have to decrypt it, et. I'm looking to have the other site
    have to do as little as possible.


    "[MSFT]" <lukezhan@online.microsoft.com> wrote in message
    news:4hqDVjOXEHA.3788@cpmsftngxa10.phx.gbl...
    > Hello,
    >
    > I think David's suggestion should be a good idea. Is it possible in your
    > solution?
    >
    > Luke
    >

    TS Guest

  7. #6

    Default Re: Pass credentials from one web site to another for seamless login

    HttpWebRequest should be a proper solution for the issue. Here is article
    you may refer:

    Using Internet Request and Response Classes
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm[/url]
    l/cpconusinginternetrequestresponseclasses.asp

    Luke

    [MSFT] Guest

  8. #7

    Default Re: Pass credentials from one web site to another for seamless login

    thanks

    "[MSFT]" <lukezhan@online.microsoft.com> wrote in message
    news:F4wUcLaXEHA.304@cpmsftngxa10.phx.gbl...
    > HttpWebRequest should be a proper solution for the issue. Here is article
    > you may refer:
    >
    > Using Internet Request and Response Classes
    >
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm[/url]
    > l/cpconusinginternetrequestresponseclasses.asp
    >
    > Luke
    >

    TS Guest

  9. #8

    Default Re: Pass credentials from one web site to another for seamless login

    I am trying to pass credentials from my main site wee.ycreditrepair.com to another site I am building. How can I pass to myself? Any ideas?
    Unregistered 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