Mobile app version of vmapp.org
Login or Join
Rambettina238

: Verifying that a user comes from a 'partner' site? We're building a Drupal module that is going to be given to trusted 'corporate partners'. When a user clicks on a link, he should be redirected

@Rambettina238

Posted in: #Http #HttpHeaders #Https #Referrer

We're building a Drupal module that is going to be given to trusted 'corporate partners'. When a user clicks on a link, he should be redirected to our site as if he's a logged in user.

How should I verify that the user is indeed coming from that site? It does not look like 'HTTP_REFERER' is enough because it appears it can be faked.

We are providing these partner sites with API Keys. If I receive the API-key as a POST value, sent over https, would that be a sufficient indicator that the user is a genuine partner-site user?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Rambettina238

1 Comments

Sorted by latest first Latest Oldest Best

 

@Pope3001725

If a unique login and password combination is sent over https and those credentials are valid then that is a secure way to confirm a partner's identity. That's how most APIs work including those of payment processing companies.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme