Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 388015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:43:43+00:00 2026-05-12T15:43:43+00:00

I have users with accounts on Site A. Site A has been around a

  • 0

I have users with accounts on Site A. Site A has been around a long time, and it’s expensive (but not impossible) to change its code.

Site B (I’m working on it now!) hosts a brand new web app for the customers of Site A. The Site B app has a list of the usernames from Site A, and maintains preferences and other information about each of those users that pertains to their usage of Site B. Site A and B are different platforms. I think Site A is coldfusion, and Site B is ASP.NET MVC.

I want users to be able to click a link in Site A that logs them into the app on Site B. I was thinking it might work like this:

0) If user tries to go straight to Site B, they just get redirected to Site A to be authenticated.

1) User logs into Site A.

2) Once logged into Site A, they can click a link that takes them to Site B. I was thinking I would do an HTTP Post from Site A to Site B with the username, so Site B knows who is logging in and how to render their pages based on their preferences.

Of course, I don’t want any Joe Schmoe to be able to do an HTTP POST to Site B with a username and get to be logged in as that user.

So I was wondering if, using certificates or something, I could make it so Site B is able to know for certain that the POST really came from Site A. Do I need / Can I use certificates for this? Maybe Site A can somehow “sign” its post so Site B can know for sure the post came from Site A?

Or could just a password be enough, where Site A posts a password over SSL along with the username that only Site B knows?

I’m also open to the idea of Site A posting the username and a GUID to Site B, which Site B would then “ask” Site A via a web service if this is indeed a recent and valid GUID that did in fact originate at Site A, but that seems like a trip I can eliminate.

I hope that is descriptive enough. Please feel free to have me explain more. Thank you for your help. 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T15:43:43+00:00Added an answer on May 12, 2026 at 3:43 pm

    Another option would be..

    • User signs into site A.

    • Site A creates a guid that is associated with this user but will expire in 5 seconds or some short time frame.

    • The user is redirected to siteB?UserID=SomId&ConfirmationId=Some Guid

    • Site B calls a web service on Site A, passing the UserID and Guid and checks to see if this is a valid redirect. (The web service just returns a true or a false).

    This solves your issue of trust, as site B is explicitly querying site A, so site B KNOWS that it is using Site A for authentication, and not just blindly trusting that the confirmation is coming from a redirect from site A.

    Also, a Guid is unique enough that it’s unlikely to be guessed by hackers, and finally, the expiration makes it so that if a hacker DOES guess the guid, it will likely have expired by the time it’s been guessed.

    Of course, you’ll want this all done over SSL.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently developing a Django site in which users can have multiple 'accounts', so
Should I constantly have a session open in my web site with user accounts,
I have 3 tables: users (id, name) currency (id, name) accounts (id, user_id, currency_id,
I have a User model and an Account model. The user has many accounts
I'm writing a site in ASP.NET MVC that will have user accounts. As the
I have a problem that has been a thorn in my side for nearly
This question has been already asked, but never answered. I want to write some
I have a Sitecore site where I want to have website visitor accounts stored
This query on my site is taking a very long time to execute. I
I've been struggling with this all day long! In the GemFile, I have: group

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.