Safest way to pass data between web apps?

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

  1. #1

    Default Safest way to pass data between web apps?

    I have an asp.net application that uses windows authentication. We need to
    loosely integrate another web application (written in cold fusion - hosted
    on another server) with my app (Loosely = provide a link to their app and
    they will link to ours). Both systems use the same user information so once
    they are authenticated by my app we would like to pass their information to
    the other app to avoid making users log in two (or more) times.

    Obviously these parameters rule out a few things (session, cache, etc) - we
    do share a database but this seems like overkill to me. As far as I know
    server.transfer only works between web forms. My last resort is to use the
    query string with encrypted data - but I'm trying to avoid this for obvious
    reasons.

    Any advice or direction is appreciated! Thanks in advance,
    J. Shane Kunkle
    [email]jkunkle@vt.edu[/email]


    J. Shane Kunkle Guest

  2. Similar Questions and Discussions

    1. How to pass data
      I need help with a small problem. I am working on a CourseBuilder 15 question test with each question is on its own page. I want to keep track of...
    2. safest way to pack unexposed 35mm film
      My apologies if this has been covered in the group before (no doubt countless times) but I was hoping someone might have words of wisdom My wife...
    3. how to pass data?
      You could create a recordset that retrieves the most recently added record by that user, maybe selecting the Max(ID) from the database, dunno what...
    4. Passing large data between forms, different apps
      Hi, I have a need to pass a large data chunk (> 1024 bytes) between web forms that reside on different web applications (say one application is...
    5. Pass data between pages
      in .net help, search for "Passing Server Control Values Between Pages" Michelle wrote:
  3. #2

    Default Re: Safest way to pass data between web apps?


    Try to use Web-service to pass information about the user between
    web-applications. For example, having logged in user went to another
    web-site using some link. At that time you sould create a temporary record
    in the database with user info (login, id and etc.) - for these info you
    sould create temporary ID and pass it trough the url to another web-app.
    That app should call your web-service and get all information from database.

    If you can't pass anothing to the url or want users to automatically login
    even if they are just type the url of the other site in another browser's
    window then use permanent cookie files (this will forks only if both
    application have urls in one domain).

    Gaidar

    "J. Shane Kunkle" <shane@caudillweb.com> wrote in message
    news:%23Cbt7nmJFHA.2704@tk2msftngp13.phx.gbl...
    >I have an asp.net application that uses windows authentication. We need to
    >loosely integrate another web application (written in cold fusion - hosted
    >on another server) with my app (Loosely = provide a link to their app and
    >they will link to ours). Both systems use the same user information so once
    >they are authenticated by my app we would like to pass their information to
    >the other app to avoid making users log in two (or more) times.
    >
    > Obviously these parameters rule out a few things (session, cache, etc) -
    > we do share a database but this seems like overkill to me. As far as I
    > know server.transfer only works between web forms. My last resort is to
    > use the query string with encrypted data - but I'm trying to avoid this
    > for obvious reasons.
    >
    > Any advice or direction is appreciated! Thanks in advance,
    > J. Shane Kunkle
    > [email]jkunkle@vt.edu[/email]
    >
    >

    gaidar Guest

  4. #3

    Default Re: Safest way to pass data between web apps?

    I dont think the DB is overkill at all. In fact, I think it is probably the
    most efficient, and safest method to do so. Its faster than reposting the
    data across to the other app and the "receiving" app can extract only the
    information it requires as need, as opposed to having to send all the
    information, just in case the app requires it.

    --

    - Paul Glavich
    ASP.NET MVP
    ASPInsider ([url]www.aspinsiders.com[/url])


    "J. Shane Kunkle" <shane@caudillweb.com> wrote in message
    news:%23Cbt7nmJFHA.2704@tk2msftngp13.phx.gbl...
    > I have an asp.net application that uses windows authentication. We need to
    > loosely integrate another web application (written in cold fusion - hosted
    > on another server) with my app (Loosely = provide a link to their app and
    > they will link to ours). Both systems use the same user information so
    once
    > they are authenticated by my app we would like to pass their information
    to
    > the other app to avoid making users log in two (or more) times.
    >
    > Obviously these parameters rule out a few things (session, cache, etc) -
    we
    > do share a database but this seems like overkill to me. As far as I know
    > server.transfer only works between web forms. My last resort is to use the
    > query string with encrypted data - but I'm trying to avoid this for
    obvious
    > reasons.
    >
    > Any advice or direction is appreciated! Thanks in advance,
    > J. Shane Kunkle
    > [email]jkunkle@vt.edu[/email]
    >
    >

    Paul Glavich [MVP ASP.NET] Guest

  5. #4

    Default Re: Safest way to pass data between web apps?

    Hi, Paul,

    Yeah, but if there is a way to use one database. Anyway you should pass user
    id between two web-applications.

    Gaidar

    "Paul Glavich [MVP ASP.NET]" <glav@aspalliane.com-NOSPAM> wrote in message
    news:eEN4CT7JFHA.3992@TK2MSFTNGP15.phx.gbl...
    >I dont think the DB is overkill at all. In fact, I think it is probably the
    > most efficient, and safest method to do so. Its faster than reposting the
    > data across to the other app and the "receiving" app can extract only the
    > information it requires as need, as opposed to having to send all the
    > information, just in case the app requires it.
    >
    > --
    >
    > - Paul Glavich
    > ASP.NET MVP
    > ASPInsider ([url]www.aspinsiders.com[/url])
    >
    >
    > "J. Shane Kunkle" <shane@caudillweb.com> wrote in message
    > news:%23Cbt7nmJFHA.2704@tk2msftngp13.phx.gbl...
    >> I have an asp.net application that uses windows authentication. We need
    >> to
    >> loosely integrate another web application (written in cold fusion -
    >> hosted
    >> on another server) with my app (Loosely = provide a link to their app and
    >> they will link to ours). Both systems use the same user information so
    > once
    >> they are authenticated by my app we would like to pass their information
    > to
    >> the other app to avoid making users log in two (or more) times.
    >>
    >> Obviously these parameters rule out a few things (session, cache, etc) -
    > we
    >> do share a database but this seems like overkill to me. As far as I know
    >> server.transfer only works between web forms. My last resort is to use
    >> the
    >> query string with encrypted data - but I'm trying to avoid this for
    > obvious
    >> reasons.
    >>
    >> Any advice or direction is appreciated! Thanks in advance,
    >> J. Shane Kunkle
    >> [email]jkunkle@vt.edu[/email]
    >>
    >>
    >
    >

    gaidar Guest

  6. #5

    Default Re: Safest way to pass data between web apps?

    Or simply a generated/custom session ID.

    The less user specific info you can pass the better IMHO. A user ID is easy
    to spoof. A GUID like session ID is much harder (in terms of relating it to
    a set of information as its just an arbitrary ID/number).

    From your last email, it sounded like you had a common database. Anyways,
    the most secure is using a certificate based approach I think. Use an
    asymetric algorithm and the public key to encrypt the data, stuff it into a
    form which you post to the receiving application, the receiving application
    can decrypt with the private key after extracting the encrypted valies from
    the form.

    --

    - Paul Glavich
    ASP.NET MVP
    ASPInsider ([url]www.aspinsiders.com[/url])


    "gaidar" <gaidar@vbstreets.ru> wrote in message
    news:OWYWgyAKFHA.572@tk2msftngp13.phx.gbl...
    > Hi, Paul,
    >
    > Yeah, but if there is a way to use one database. Anyway you should pass
    user
    > id between two web-applications.
    >
    > Gaidar
    >
    > "Paul Glavich [MVP ASP.NET]" <glav@aspalliane.com-NOSPAM> wrote in message
    > news:eEN4CT7JFHA.3992@TK2MSFTNGP15.phx.gbl...
    > >I dont think the DB is overkill at all. In fact, I think it is probably
    the
    > > most efficient, and safest method to do so. Its faster than reposting
    the
    > > data across to the other app and the "receiving" app can extract only
    the
    > > information it requires as need, as opposed to having to send all the
    > > information, just in case the app requires it.
    > >
    > > --
    > >
    > > - Paul Glavich
    > > ASP.NET MVP
    > > ASPInsider ([url]www.aspinsiders.com[/url])
    > >
    > >
    > > "J. Shane Kunkle" <shane@caudillweb.com> wrote in message
    > > news:%23Cbt7nmJFHA.2704@tk2msftngp13.phx.gbl...
    > >> I have an asp.net application that uses windows authentication. We need
    > >> to
    > >> loosely integrate another web application (written in cold fusion -
    > >> hosted
    > >> on another server) with my app (Loosely = provide a link to their app
    and
    > >> they will link to ours). Both systems use the same user information so
    > > once
    > >> they are authenticated by my app we would like to pass their
    information
    > > to
    > >> the other app to avoid making users log in two (or more) times.
    > >>
    > >> Obviously these parameters rule out a few things (session, cache,
    etc) -
    > > we
    > >> do share a database but this seems like overkill to me. As far as I
    know
    > >> server.transfer only works between web forms. My last resort is to use
    > >> the
    > >> query string with encrypted data - but I'm trying to avoid this for
    > > obvious
    > >> reasons.
    > >>
    > >> Any advice or direction is appreciated! Thanks in advance,
    > >> J. Shane Kunkle
    > >> [email]jkunkle@vt.edu[/email]
    > >>
    > >>
    > >
    > >
    >
    >

    Paul Glavich [MVP ASP.NET] 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