![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 27, 2016, 11:40:30 PM |
|
This would require some extra PHP coding to be done properly. It would all be pretty simple stuff, but can be complicated to implement should you not know PHP/the FaucetBox script too well. The process of it would probably go something like this however:
User Presses Claim Button -> Script checks whether the Captcha has been solved correctly -> A CSRF token is created by the script to prevent abuse -> The script redirects to the Adf.ly page which redirects back to the claim page -> The page checks the HTTP_REFERRER to see if it is Adf.ly (However this is unreliable as HTTP headers can be changed manually) -> CSRF token is checked to be sure that the user did actually come from the original claim page (and perhaps checked against a timestamp to stop abuse) -> Faucet pays satoshi to user.
There are a lot of steps to doing something like this in order to make it all work nicely and secure. If you're not too confident at PHP I would recommend hiring someone to do the job for you or be prepared for your funds to be stolen if a bug is found. It would also be pretty annoying for users to have to deal with for users, so your rewards would probably have to be higher to compensate.
|