This is an archived forum post. The information may be outdated. Contact us if you have any questions.

IP Addresses/range of PDFCrowd servers

PabloLopez wrote on 2020-06-22:
Hello team,
what is your IP Addresses/range of PDFCrowd servers?

Thanks!
support wrote on 2020-06-22:
Our service is hosted in Google Cloud. If your system supports ASN (Autonomous system number), you can whitelist ASN 15169 to allow inbound requests from the service.

Alternatively, you can obtain the IP ranges using the following gist:
-- https://gist.github.com/pdfcrowd/2d0f45f5d8c0dbd0469180d3f88e1410

However, the IP ranges can change anytime so the ASN is definitely the preferred way.

You may also consider the following 3 options to detect inbound requests from Pdfcrowd:

1. You can use the setCustomHttpHeader() API method to add a custom HTTP header to inbound server requests. You can assign a specific value to the header and then verify the header value when the request arrives to your server. Cookies can be used for this purpose as well (setCookies() API method). The easiest option is to check for the presence of the X-Pdfcrowd HTTP header which we automatically send with each inbound request.

2. You can use HTTP basic authentication on your server and authenticate inbound requests from our service with the setHttpAuth() method.

3. You can use a client side certificate via the setClientCertificate() API method if your web server supports this authentication method. Here is a tutorial for Nginx:
-- https://fardog.io/blog/2017/12/30/client-side-certificate-authentication-with-nginx/