CRM Connectivity Security Controls
CRM connectivity security is mostly a question of who can reach which customer's data and who holds the CRM keys. DaletPipe answers with controls in three places: the database, the API and the credential broker, each testable on its own. Tenants are separated by row-level security, every action is checked against nine capabilities, and all CRM secrets stay in DaletAuth. This page lists each control as it is implemented, and then it lists the few steps that your deployment owns. A security reviewer can treat it as a map of what to test, one control at a time, before go-live.
Key takeaway
DaletPipe enforces tenant isolation in PostgreSQL, checks nine capabilities and the connection location on the server, and keeps CRM credentials in DaletAuth. It reads identity headers from your gateway and seals webhook secrets with AES-256-GCM.
What goes wrong when many CRMs share one integration layer?
CRM integrations concentrate a lot of risk. In fact, they hold tokens that can read every customer record. In fact, they copy that data into a second system.
Read each claim with care. Test each claim on your own data.
Read each claim with care. Test each claim on your own data.
They accept inbound calls from the internet. Also, each of those is a place where one mistake exposes many customers at once.
Each page on the credential custody is reviewed before it is published.
Our team writes about the CRM connectivity security in plain words. Thus, each page on the tenant isolation is reviewed before it is published. Indeed, questions about the production guards are welcome in the contact form.
Common failures are plain ones. Also, a token is stored in a log. Indeed, a query forgets a tenant filter.
A webhook endpoint accepts forged bodies. Besides, a user sees a customer record because a hidden button was the only guard. Good CRM connectivity security assumes each of these will be attempted.
How does tenant isolation work in the CRM database layer?
Every tenant table has row-level security enabled and forced. Also, each request opens a session and sets the current tenant as a database setting. Thus, the database then filters every query to that tenant, whatever the application code asks for.
Short checks beat long debates. Notably, write down what you find.
A second look at the CRM connectivity security pays off.
Each page on the CRM connectivity security is reviewed before it is published. Indeed, readers often return to the tenant isolation when plans change. In addition, people new to the access records should start with the guides.
The rule that makes this work is the API role. Also, it must be a non-superuser role that cannot bypass row-level security. Besides, a superuser or bypass role would silently bypass isolation. DaletPipe checks the role at startup and logs a critical message if it finds one that bypasses security.
Which three database roles split the duties of the system?
Duties are split across three roles. In fact, an owner role runs migrations. Also, a restricted API role serves requests and is bound by row-level security. Indeed, a separate worker role has cross-tenant visibility so schedulers can find due work.
Keep your own notes for later. Ask for the code behind each claim.
Keep your own notes for later. Likewise, ask for the code behind each claim.
People new to the CRM connectivity security should start with the guides.
Every claim about the tenant isolation is checked against the code.
Share what you learn about the CRM connectivity security with your whole team. People new to the credential custody should start with the guides.
Production mode requires a dedicated worker database URL when workers are on. Tenant work done by a worker still runs inside a tenant-scoped transaction. Also, the cross-tenant view exists only to list work, not to read customer data freely.
Which nine capabilities does the API check on each call?
The API recognizes nine capabilities. Thus, they are connections read, connections write, sync run and records read. In addition, the rest are mappings write, webhooks manage, catalog read, evidence read and all locations.
Share the result with your team. Overall, check the facts again each quarter.
Each tenant data route declares which one it needs. Moreover, the server refuses calls without it.
Questions about the tenant isolation are welcome in the contact form.
Each page on the production guards is reviewed before it is published.
A short checklist keeps the CRM connectivity security under control. Indeed, short answers on the tenant isolation are kept up to date. In fact, people new to the production guards should start with the guides.
A caller with an unknown capability name is rejected outright. Also, a caller with none is rejected. Indeed, these checks run in the API.
Therefore, a modified interface cannot grant itself wider rights. Roles such as analyst or auditor are built by combining capabilities in your host, not inside DaletPipe.
How do location checks narrow what a caller may see?
Every new connection requires an exact commercial location. Also, for each call on a connection, the server checks the location. In addition, it compares it with the caller's granted locations.
Short checks beat long debates. Write down what you find.
Short checks beat long debates. Thus, write down what you find.
Only a caller with the all-locations capability skips that comparison. Overall, a mismatch returns not found, not forbidden.
Each page on the CRM connectivity security is reviewed before it is published.
Short answers on the CRM connectivity security are kept up to date. Moreover, every claim about the row-level security is checked against the code. Notably, readers often return to the access records when plans change.
The same check covers sync runs, records, mappings, receipts and evidence. Indeed, it also covers retained historical locations on inbound records. UI hints are not authorization. Also, the code says so in its own documentation.
How does DaletAuth keep the keys for each CRM connection?
DaletPipe stores no CRM secret. Indeed, a connection holds coordinates that point at DaletAuth. Tokens come from DaletAuth when a call needs one and are cached briefly with a 60 second safety margin. Also, a browser never receives a provider secret.
Plain words help every reviewer. Small steps are easy to audit.
Every claim about the tenant isolation is checked against the code.
Share what you learn about the CRM connectivity security with your whole team. Thus, a second look at the credential custody pays off.
For stored credentials, the Nature C route forwards the client identifier and secret to DaletAuth and does not keep them. Notably, a decommission flow disables the connection and clears its leases without deleting evidence. Besides, the credential custody article explains both natures.
How are outbound webhooks signed and guarded in the code?
Outbound events carry an HMAC-SHA256 signature over the exact body, keyed with the subscription's secret. Also, three headers carry the signature, the event type and a unique event identifier. Besides, a receiver verifies the signature and ignores repeats. See signed CRM webhooks for the delivery rules.
Share the result with your team. Check the facts again each quarter.
Share the result with your team. Likewise, check the facts again each quarter.
Each page on the row-level security is reviewed before it is published.
Each page on the production guards is reviewed before it is published.
A short checklist keeps the CRM connectivity security under control. Also, short answers on the tenant isolation are kept up to date. In addition, people new to the production guards should start with the guides.
The subscription secret is sealed with AES-256-GCM before it is stored. Also, the sealing key comes from a deployment setting. In addition, a sealed value cannot be moved to another subscription.
The reason is that tenant and subscription are bound into it. Overall, use a different secret for each subscription and rotate by updating the subscription.
Why do inbound webhooks fail closed for each CRM connector?
The generic inbound route accepts only verified webhook operations. Also, every unverified call is refused. Moreover, a signature header's presence alone is not treated as authentication.
Ask one person to own each check. Record every answer in writing.
Each page on the CRM connectivity security is reviewed before it is published.
Share what you learn about the CRM connectivity security with your whole team. Indeed, every claim about the credential custody is checked against the code. Indeed, readers often return to the access records when plans change.
Inbound notifications, such as Pipedrive v2 person events, arrive on connection-bound authenticated routes. Each tenant connects them with its own secret, and each signature is verified. Also, they need a public HTTPS base URL and a worker role. They fetch the current record instead of trusting callback data.
Which production guards refuse a risky setup at start up?
Production mode adds guards that matter for CRM connectivity security. Indeed, it validates its own configuration at startup. It refuses wildcard origins and wildcard trusted hosts, a placeholder DaletAuth key and workers without a dedicated worker database URL. Notably, the interactive API documentation pages are not served.
Plain words help every reviewer. Small steps are easy to audit.
Plain words help every reviewer. Small steps are easy to audit.
A short checklist keeps the row-level security under control.
Share what you learn about the CRM connectivity security with your whole team. Besides, a second look at the credential custody pays off.
Each tenant connects the most sensitive links with its own keys. Also, these are inbound notifications, the DaletMart exchange and the content proxy. The all-time evidence screens and governance enforcement are built in and on, and strict acknowledgment follows the tenant's own settings.
Each link has its own setup rules. The Mart exchange, for example, requires 32-byte tenant secrets and an HTTPS URL.
How do the three layers all work as one whole?
The layers work as a chain. Likewise, a request arrives with headers. Indeed, the capability check decides whether the route is allowed at all.
Compare the page with the code. Mark each item you check.
The location check decides whether this connection is visible. Besides, the database then filters rows by tenant, whatever the application asked for.
Readers often return to the credential custody when plans change.
A short checklist keeps the access records under control.
Short answers on the CRM connectivity security are kept up to date. Also, short answers on the tenant isolation are kept up to date. People new to the production guards should start with the guides.
- The database layer isolates tenants with row-level security.
- The API layer checks nine capabilities and the location on each call.
- The credential layer keeps CRM secrets inside DaletAuth.
- The webhook layer signs each delivery with a subscription secret.
If one layer has a bug, the others still hold. Moreover, a route that forgot a location check still cannot cross a tenant boundary, because the database refuses. That depth is the main reason CRM connectivity security is built in layers, not in a single gate. In fact, it does not remove the need to test each layer.
Where can a reviewer find each control in the code?
Reviewers can verify each claim in the repository. Capability names and the header parsing live in one dependencies module. Row-level security is created in the first migration and extended by later ones. Production validation lives in the settings class.
Ask one person to own each check. Record every answer in writing.
Ask one person to own each check. Record every answer in writing.
Readers often return to the CRM connectivity security when plans change.
Short answers on the CRM connectivity security are kept up to date. Indeed, every claim about the credential custody is checked against the code. Readers often return to the access records when plans change.
The webhook signing function is five lines long. Also, the delivery loop is one file. Credential calls to DaletAuth sit in a small client. Also, because the surface is small, a focused review of these files covers most of the security design.
What threats does the design cover for each of the tenants?
Four threats shaped the design. Also, a cross-tenant read is addressed by forced row-level security. Thus, a privilege jump is addressed by server-side capabilities. Likewise, a stolen browser session cannot expose a CRM secret, because browsers never receive one.
Run each test twice to be sure. Note the date of each check.
A short checklist keeps the row-level security under control.
A short checklist keeps the CRM connectivity security under control. Notes on the production guards are dated and reviewed by a second person.
A forged inbound event is addressed by failing closed on every route that cannot verify a signature. Indeed, add a penetration test of your own deployment as well.
Which evidence and access records are kept by the product?
Reading evidence is itself recorded. Evidence routes need the evidence read capability. Besides, each access writes an event with the action, the decision and the location. Content responses are marked no-store and as attachments so intermediaries do not cache them.
Compare the page with the code. Mark each item you check.
Compare the page with the code. Mark each item you check.
A second look at the production guards pays off.
A short checklist keeps the access records under control.
A short checklist keeps the CRM connectivity security under control. Share what you learn about the tenant isolation with your whole team. In addition, people new to the production guards should start with the guides.
Archive content retrieval needs each tenant's own endpoint and credentials. Also, the code implements it in full for each tenant. Overall, the route returns the archived content once those credentials are in place.
Why does a disabled connection keep all of its evidence?
Decommissioning requires a reason of up to 255 characters. In addition, it disables the connection, clears sync leases and revokes inbound registrations. Moreover, it does not delete evidence. This is deliberate, because deleting history would remove the proof of what was read.
Keep each check small and clear. Indeed, use plain words in every note.
Each page on the CRM connectivity security is reviewed before it is published.
Short answers on the CRM connectivity security are kept up to date. Moreover, every claim about the credential custody is checked against the code. Also, readers often return to the access records when plans change.
If your policy needs deletion, agree retention and deletion with your data owner. Record that decision in your own assessment.
What must you secure on your own around this product?
Several controls belong to your deployment, not to DaletPipe. Authenticate users before requests reach the API. Also, the reason is that identity arrives in headers set by your gateway. Block direct network access to the API from anywhere except your gateway.
Run each test twice to be sure. Note the date of each check.
Run each test twice to be sure. Note the date of each check.
A short checklist keeps the credential custody under control.
Share what you learn about the CRM connectivity security with your whole team. Notes on the production guards are dated and reviewed by a second person.
Terminate TLS in front of the service. Encrypt disks and database backups. Thus, set explicit origins and hosts.
Generate the three database credentials as files, as the Compose setup expects. Thus, keep them out of version control and images.
What checks should a security review of the tool include?
A security review covers each control on this page. Notably, it includes your deployment settings. Notably, it also includes accessibility checks and the embedding host's authentication contract.
Ask a second person to read it. Fix one issue at a time.
Our team writes about the access records in plain words.
Our team writes about the CRM connectivity security in plain words. Besides, each page on the tenant isolation is reviewed before it is published. A second look at the access records pays off.
Indeed, a security review should include a sandbox test of each CRM you intend to connect. Also, the implementation plan describes how to do it.
How can you review it against your own security checklist?
Give your security reviewer this page and the repository. Likewise, ask them to test row-level isolation with two tenants. Besides, then test capability refusal for each role and the location checks across two locations.
Keep each check small and clear. Use plain words in every note.
Keep each check small and clear. Also, use plain words in every note.
Then walk through the deployment steps listed above. Overall, the integration points page shows how DaletPipe meets the rest of the suite.
A second look at the CRM connectivity security pays off.
Each page on the CRM connectivity security is reviewed before it is published. Likewise, teams often ask us about the credential custody in practice. People new to the access records should start with the guides.
Good CRM connectivity security starts with a short list of controls. A reviewer can read each item on a CRM connectivity security checklist in a minute.
Common questions teams ask about security and how it works
How should a reviewer assess DaletPipe security?
The controls on this page are implemented in code and described from the code. A reviewer tests them in the deployment and applies their own assessment.
How is one tenant kept from reading another's data?
PostgreSQL row-level security is enabled and forced on tenant tables, and each request sets a tenant value for its session. The API role must be non-superuser and must not bypass row-level security. Startup logs a critical message if the role breaks that rule.
Where does DaletPipe get the caller's identity?
From request headers for tenant, user, capabilities and locations. A gateway or host in front of DaletPipe authenticates users and sets them. Place it behind a gateway or host that authenticates users and sets the headers, and block direct access from outside that gateway.
Are webhook signing secrets encrypted?
The code seals each subscription secret with AES-256-GCM before it is stored, and the key comes from a deployment setting. Without that key, nothing is sealed or unsealed, and deliveries wait. Use a unique secret per subscription and guard the key like any other secret.
What stops a user from seeing another location's connection?
The server compares the connection's location with the locations granted to the caller. Without the all-locations capability, a caller outside the location receives a not-found response, so the connection's existence is not revealed. Hidden interface buttons are never the control.
What does production mode change?
It refuses wildcard origins and wildcard trusted hosts, a placeholder DaletAuth key and background workers without a dedicated worker database URL. It also serves no interactive API documentation pages. Settings are validated at startup, so a bad configuration stops the service.
See how DaletPipe fits the providers your team uses today
Book a short meeting for a walkthrough with your own providers in mind, or join an in-person class to learn the method first.