You are using the new API (3) - New security API's.


Here at DACCAA, we love developers.

DACCAA always tries to create the most secure services possible and give our users the most security we can physically make. This is why we have created this security page.

DACCAA Service Network Security

DACCAA has been working on may brand new security systems. The first one we plan to open to developers is our IP address filtering system.

It is so simple to use, make an API call to DACCAA's servers with their IP address and we send back a few pieces of info, but the best bit, we send back a full HTML page (to keep our ban pages consistent). This will tell the user everything they need to know. Just be sure to place the code right at the start of your PHP document.

$ip = $_SERVER['REMOTE_ADDR']; $banCh = curl_init(''.urlencode($ip)); curl_setopt($banCh, CURLOPT_RETURNTRANSFER, true); $banData = json_decode(curl_exec($banCh), true); if($banData['status'] !== "allowed") { echo $banData['html']; die(); }

You can also adapt this code to any other language that suits you, it is merely an API call with JSON interpretation.


Did we make a mistake? Do you think there is any vulnerabilites with this? Or are you still confused? Then get in touch with us and we will aim to reply with 48 hours for the quickest support possible.

contact us

Copyright © Danny Franklin 2019.