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

  • SEARCH
  • Home
  • 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 6095211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:47:13+00:00 2026-05-23T12:47:13+00:00

There is website A, with its pool of users. There is a separate website

  • 0

There is website A, with its pool of users. There is a separate website B, which sells digital goods.

I want to allow users of website A to make a purchase from website B, without registering or visiting B.

Given that site A has an agreement with site B to pay the bill on a monthly basis, how can you authorize purchases without opening a vulnerability for malicious attackers?

The first solution which come to my mind, storing a master password to authorize single user purchase, is a security nightmare, but I can’t thing anything better. Any ideas?

  • 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-23T12:47:13+00:00Added an answer on May 23, 2026 at 12:47 pm

    You can use SAML (http://en.wikipedia.org/wiki/SAML) for this purpose.

    Site A will have username/password and other information to authenticate end users. After authentication, site A can send users to site B and site B will call a service exposed by site A to confirm that user is indeed sent from site A.

    E.g.

    1. user ‘abc’ logins on site A
    2. user clicks on something (on site A) to buy something from site B
    3. Site A generates some random and unique token for this action.
    4. User is sent to Site B (usually by POST on a form that points to site B). One of the form fields would be this token
    5. Site B calls some service on Site A to validate the token and to retrieve username for which token was generated. Service might return other things like purchase limit for this transaction.

    It is VERY important that the whole communication happens over SSL. This will help mitigating Man-in-the-middle attacks.

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

Sidebar

Related Questions

Is there any website/service which will enable me to add RSS subscription to any
Is there any one website which contains many good C# screencasts?
There is a particular website I must use for work which is absolutely heinous
Is there a website I can create an HTML final four bracket? Or is
Is there a website that lists all of the publicly available JQuery plugins? Also,
Does there exist a website service or set of scripts that will tell you
I'm wondering if there is a website that collects (and hopefully updates) information on
There has been some talk of Website performance monitoring tools and services on stackoverflow,
Is there any difference between website and web application project? What if you are
Are there any good books or website that go over creating a JTable ?

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.