/

Inbound Connection

Our inbound connection uses an inbound/reverse proxy.

Proxy Definition

The difference between our outbound proxy and our inbound is that the inbound is static and sits between your client side and your server side, while the outbound proxy sits between your server and third parties

What does it allow you to do?

  • Rewrite requests or responses on the fly before data enters or leaves your system.
  • Operate on data outside of the scope of your backend systems.
  • Set/Change/Strip Headers.
  • Modify the payload even if it's not a strict redaction/replacement.

How does it work?

  • You point your client API or Frontend to our reverse proxy and set the upstream in our dashboard to your server DNS.

Example:

  • BEFORE: client.foo.com → server.foo.com
  • AFTER: client.foo.com → tenantid.sandbox.verygoodproxy.com → server.foo.com
  • ALTERNATIVELY: you can load your client website/app through the proxy. This is useful if your client and backend do not communicate via API. We can provide a CNAME to whitelabel this when you're ready to use for production.

The inbound/reverse proxy directs traffic between the client-side (inbound) traffic, the VGS vault (where sensitive data is stored), and your backend systems as illustrated by the below image.

inbound-connection-client-server

Try it out

Run this sample code snippet in your terminal to see an example of data redaction. Please note, this is a sample test vault.

curl __VAULT_URL__/post \
  -H "Content-type: application/json" \
  -d '{"account_number": "ACC00000000000000000"}'
This is a sample VGS echo server
This is a login from access credentials
This is a password from access credentials
This is a HTTP port number to access
This is a  sample VGS alias  in a generic format
This is a sample test  vault id
This is a username/password pair of  access credentials  for a sample test vault
This is a sample  vault url, that contains the vault id and the sandbox environment
This is a sample  vault host,  which contains sample test vault id and sandbox environment
This is a current Organization ID
This is a current vault id
The unique name that identifies a specific iframe
This is a  sample VGS alias  in a generic format
Check out data revealing code snippet for outbound connection.

Example with a html form submit

Let's take the easiest use case, an HTML form posting credit card data. You can serve your content via the proxy https://tenantid.SANDBOX.verygoodproxy.com and this form will work with a sample echo server filter.

<form class="form-horizontal2 boxed" method="post" action="/post">
    <!--CREDIT CARD PAYMENT-->
    <div class="panel panel-info">
        <div class="form-group">
            <div class="col-md-12">
                <label for="pan_number" id="pan_number_label">Credit Card Number</label>
                <input class="form-control" placeholder="Card Number" type="text" name="cc_number" id="pan_number" value="">
            </div>
        </div>
        <div class="form-group">
            <label for="pan_exp" id="pan_exp_label">CC Expiration</label>
            <input class="form-control" placeholder="Card Expiration" type="text" name="cc_exp" id="pan_exp">
        </div>
    </div>
    <div class="form-group">
        <label for="pan_cvv" id="pan_cvv_label">CC CVV</label>
        <input class="form-control" placeholder="CVV" type="text" name="cc_cvv" id="pan_cvv" value="">
    </div>
    <div class="form-group">
        <span>Pay securely using your credit card</span>
    </div>
    <button type="submit">Place Order</button>
</form>
This is a sample VGS echo server
This is a login from access credentials
This is a password from access credentials
This is a HTTP port number to access
This is a  sample VGS alias  in a generic format
This is a sample test  vault id
This is a username/password pair of  access credentials  for a sample test vault
This is a sample  vault url, that contains the vault id and the sandbox environment
This is a sample  vault host,  which contains sample test vault id and sandbox environment
This is a current Organization ID
This is a current vault id
The unique name that identifies a specific iframe
This is a  sample VGS alias  in a generic format

In this example form, on any press of the submit button we post to the path in the action attribute in the form tag:

Once you have this set-up you can work on your transformers and filters.

Encrypted Communication

VGS supports encryption to protect communications between VGS and your web application. VGS supports the TLS cryptographic protocol. Support for anything less than TLS1.2 is officially deprecated.

For more information regarding TLS:

If you need any help contact us on site chat or support@verygoodsecurity.com.