Bitcoin Forum
November 23, 2017, 07:53:57 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: blockchain.info api - how to determine if callback is valid.  (Read 547 times)
ytwg
Newbie
*
Offline Offline

Activity: 23



View Profile
April 09, 2013, 08:01:07 AM
 #1

Hi, does anyone else use the blockchain.info api?
If so how do you determine that the callback is from them.
I used to use gethostbynamel("blockchain.info"); but then they changed the callback IP to one not in that list [185.7.149.10].
Yesterday they seem to have changed it again to [91.223.16.20].

Any idea how i can do this automatically without having to log their IPs and when a customer complains, update the php script?

1511423637
Hero Member
*
Offline Offline

Posts: 1511423637

View Profile Personal Message (Offline)

Ignore
1511423637
Reply with quote  #2

1511423637
Report to moderator
1511423637
Hero Member
*
Offline Offline

Posts: 1511423637

View Profile Personal Message (Offline)

Ignore
1511423637
Reply with quote  #2

1511423637
Report to moderator
1511423637
Hero Member
*
Offline Offline

Posts: 1511423637

View Profile Personal Message (Offline)

Ignore
1511423637
Reply with quote  #2

1511423637
Report to moderator
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Zeilap
Full Member
***
Offline Offline

Activity: 154


View Profile
April 09, 2013, 08:07:46 AM
 #2

Hi, does anyone else use the blockchain.info api?
If so how do you determine that the callback is from them.
I used to use gethostbynamel("blockchain.info"); but then they changed the callback IP to one not in that list [185.7.149.10].
Yesterday they seem to have changed it again to [91.223.16.20].

Any idea how i can do this automatically without having to log their IPs and when a customer complains, update the php script?



Use https.

1GLeSqooAPe8PfWbJecnL3AteDac2B3cqj
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 1778

Newbie


View Profile
April 09, 2013, 08:18:15 AM
 #3

Quote
blockchain.info api - how to determine if callback is valid

I use a secret code and check it on callback.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!