Dockvio
Cybersecurity / Authentication & API Protection

The Right Access.
For the Right Users.

We strengthen login, permissions, sessions, and API access through scoped engineering changes and documented checks.

Three user icons feeding one glowing access line through a gate to an API panel, with a blocked path to a database.
Where access goes wrong

Access Needs More Than a Working Login.

Sign-in can work perfectly while permissions and APIs quietly trust too much. These gaps tend to appear as a product grows.

logoutsigned instill valid
01Sign-in & sessions

Sessions outlast their purpose

Tokens that stay valid too long, sessions without appropriate expiry, or access that remains active after logout.

DESIGN QUESTIONWhen should access end?
vieweditexportdeleteStaffPartnerTrial??
02Permissions

Permissions grow unevenly

Roles get added one feature at a time, until nobody can say clearly who is allowed to do what.

DESIGN QUESTIONWho should reach this data?
limit?calls per minute
03API access

APIs trust too much

An endpoint may confirm someone is signed in, but not whether the record is theirs or how often they call.

DESIGN QUESTIONWhat should each request allow?

Common patterns in growing products. Every application is different.

WHERE DOCKVIO COMES IN
A clear access model, built and tested.
1Agree the access model
2Build with your team's review
3Test allowed and denied
4Your team's final acceptance
What we implement

Access Controls Built Around Your Application

We agree the user journeys, technologies, and controls in scope before implementation begins.

Login & Account Recovery

Implement or strengthen agreed sign-in, account verification, and password-reset flows.

CHECKSValid sign-in, rejected requests, reset-link expiry.
test-evidence.log
POST /login valid credentials200 session issued
POST /login wrong password401 rejected
GET /reset expired link410 link expired
Illustrative examples, not a client engagement.
Defines the rules

Roles & Permissions

Define and enforce which actions each user role can perform.

CHECKSPermitted actions and rejected attempts across agreed roles.
test-evidence.log
staff · view invoicesallowed
staff · export invoices403 denied
admin · export invoicesallowed
Illustrative examples, not a client engagement.
Enforces resource boundaries

Record & Tenant Access

Restrict access to individual records and tenant resources where applicable.

CHECKSOwnership rules and cross-tenant access rejection.
test-evidence.log
Customer A · GET /invoices/A-102200 returned
Customer A · GET /invoices/B-207404 hidden
Tenant X · read Tenant Y data403 rejected
Illustrative examples, not a client engagement.

Sessions & Tokens

Implement appropriate token validation, session expiry, logout, and revocation behaviour.

CHECKSInvalid tokens, expired sessions, and agreed logout behaviour.
test-evidence.log
GET /account valid token200 allowed
GET /account expired token401 rejected
GET /account after logout401 revoked
Illustrative examples, not a client engagement.
Applies rules to requests

API Access Enforcement

Apply authentication and authorization checks consistently to agreed endpoints.

CHECKSUnauthenticated requests and insufficient permissions.
test-evidence.log
GET /api/orders no token401 rejected
GET /api/orders wrong scope403 denied
GET /api/orders valid scope200 allowed
Illustrative examples, not a client engagement.

Rate Limits & Abuse Controls

Introduce scoped limits around sensitive actions such as login, recovery, and selected API requests.

CHECKSRequest thresholds and expected rejection behaviour.
test-evidence.log
POST /login attempts 1–5normal
POST /login attempt 6 in one minute429 limited
POST /login after cool-downallowed
Illustrative examples, not a client engagement.
SCOPED SEPARATELY
Independent penetration testing, ongoing monitoring, third-party subscriptions, and broader infrastructure changes.
How we work

From Access Model to Accepted Changes

1
Review the Application

Understand your application, user roles, current access flows, and the controls in scope.

2
Agree the Access Model

Confirm roles, permissions, protected resources, and the checks that define acceptance.

3
Implement With Your Team

Build the agreed controls through your repository's review process, with your team reviewing changes.

4
Test Allowed and Denied Access

Run checks for permitted actions, rejected requests, and expiry behaviour, recording results and limitations.

✓ allowed✕ denied
5
Hand Over for Acceptance

Provide change records, test results, and handover notes for your team's final acceptance.

Your team reviews changes during implementation and confirms final acceptance.
What you receive

Clear Rules.Tested Behaviour.Practical Handover.

Your agreed scope defines the controls, tests, and documentation delivered.

Access Model

A roles-and-permissions matrix for the agreed users, resources, and actions.

Reviewable Code Changes

Pull requests or commits for the agreed controls, ready for your team’s review.

Allowed and Denied Test Cases

Checks for permitted actions, rejected requests, and expiry behaviour, with results recorded.

API Control Documentation

Which endpoints are protected, how rules apply, and any rate-limit or validation settings.

Handover Notes

What changed, how to maintain it, and any known limitations or remaining actions.

Deliverables depend on your agreed scope. Test results cover the checks agreed for your application.

Access in practice

Signed In Doesn’t Mean Access to Everything.

Illustrative example—not a client engagement.
Access check✓ Identity✓ Permission for this invoiceCustomer A✓ Signed inRequest✓ Allowed✕ DeniedINVOICECustomer A’sinvoiceINVOICECustomer B’sinvoice
01
The Requirement
A customer can view invoices belonging to their account, but cannot access another customer’s invoices.
02
The Control
The application checks the user’s identity and permission to access the requested invoice before returning its data.
03
The Checks
Confirm that permitted requests succeed and requests for another customer’s invoices are rejected.
04
The Handover
Document the access rule, implementation changes, and test results for your team’s review.
Working together

Your Product Rules.Clear Responsibilities.

We agree the access model, implementation scope, and approval process with your team before changes begin.

YOUR TEAMWhat you bring and decide
01What we need
Application stackCurrent identity setupUser rolesSensitive workflowsAgreed development access
02What you decide
Who can access which resources
Which actions each role can perform
Who approves code changes and deployment
Agreed
scope
DOCKVIOWhat we document
03Handed back to your team
Agreed access rules
Implementation decisions
Test results
Configuration guidance
Remaining actions
Development access and document sharing are arranged through agreed channels. Don’t send passwords, tokens, or API keys through the enquiry form.
FAQ

Questions About Access and APIs

How Dockvio scopes login, sessions, permissions, and API access, and what the engagement does not claim.

01What does authentication and API protection actually cover?

It covers the paths that decide who a caller is and what that caller is allowed to do. On the application that means login, logout, password reset, session lifetime, multi-factor checks where you already have them, and the permission checks in front of pages and actions. On the API it means how a token, key, or session is issued, how it is checked on each route, and how one user is stopped from reading or changing another user’s objects.

The typical failures we are asked to close are familiar. A route that forgot the authentication middleware. An object id taken from the URL and fetched with no check that it belongs to the caller. A JSON Web Token that never expires, or that trusts a signature algorithm the server did not intend. A session cookie missing HttpOnly, Secure, or SameSite. An admin API mounted on the same host with no separate check. A webhook that accepts any POST. A service account whose key is in the repository.

Dockvio implements the agreed controls in your codebase and configuration, with checks and notes. We do not replace your identity provider for sport, and we do not perform the independent test of those controls. The scope names the journeys. Anything outside those journeys stays written down as out of scope.

02Can you fix broken access control and IDOR findings?

Yes. Broken access control, including insecure direct object references, is the finding we see most often on APIs that grew route by route. The repair is rarely a new library. It is a rule, applied in one place, that loads the object and asks whether this authenticated subject may perform this action on it. The test is a request from user A for user B’s identifier, which must fail, and a request from the real owner, which must still succeed.

We look for the copies of the bug, not only the one line in the report. If five endpoints share a helper that skips the check, fixing one endpoint leaves four. If each endpoint invented its own check, we consolidate them so the next route has a default. That consolidation is described in the scope when it is larger than the single finding.

Horizontal access, user to user, and vertical access, user to admin, are both in bounds when they are in the agreed journeys. A multi-tenant product needs the tenant in that check as well. We will say so when the data model makes the simple user-id check insufficient.

03How do you handle sessions, cookies, and logout?

A session is a capability, and it should die when you say it dies. We look at how the session is created, where it is stored, which cookie flags it uses, how long it lives, whether a password change or a logout kills the server-side record, and whether a stolen cookie still works after the user has signed out. “Logout” that only deletes a cookie in the browser, while the server token remains valid, is a finding we close when it is in scope.

Cookie flags are the small half of the job. HttpOnly, Secure, and a SameSite value that matches how the application is actually hosted matter, and so does not putting the session identifier somewhere JavaScript or a log can collect it. The larger half is server state: rotation on privilege change, idle and absolute timeouts that match the product, and a store you can revoke.

If you are on a hosted identity provider, we work with that provider’s session rather than inventing a second one. Two sources of truth for “is this user signed in” is a defect. We will not add one to look busy.

04What about API keys, OAuth, JWT, and service-to-service calls?

Each of those is a different trust decision, and the scope should say which ones we are changing. API keys need an owner, a place they are stored that is not the repository, a way to rotate them, and a check that the key is allowed to call this route and not every route. OAuth and OpenID Connect need the right grant for the client you actually have, a validated redirect, a state or nonce check, and tokens that are verified rather than decoded and trusted.

JWTs need an explicit algorithm, a verified signature, an audience and issuer check, and an expiry you are willing to live with. A long-lived token that cannot be revoked is a design we will argue with before we wrap it in more code. Service-to-service calls need an identity of their own. Reusing a user’s token inside a backend job hides who did the work and usually over-privileges the job.

We implement this in the stack you have. If that stack is wrong for the threat, we say so and propose a scope, rather than papering over it with a helper that only checks that a header is present.

05Do you redesign login, or work inside the identity system we already have?

We work inside what you have, unless the current design cannot express the control you need. Most engagements are repairs and tightening: missing checks, weak tokens, sessions that outlive the user, admin routes that share a cookie with the public site. A redesign of login, a migration to a new identity provider, or a new permission model across web and mobile is a different size of job and is written as such.

Staying inside your system is also how your developers can review the change. A new framework dropped in beside the old one gives you two logins and no owner. We would rather fix the path your users already take.

If a report says “implement OAuth” and you already have a working session, we will ask what the report is actually trying to prevent. The control matters more than the brand name of the protocol.

06How do you show that one user cannot reach another user’s data?

With a check that fails closed, and a test that would go red if someone removes it. For each agreed journey we name the actor, the object, and the action. The test signs in as the wrong actor and attempts the action. The expected result is a refusal, not a filtered empty success that still reveals the object exists when it should not, unless you have explicitly chosen that behaviour.

We also check the unauthenticated case and, where the product has roles, the lower-privilege case. List endpoints get the same attention as item endpoints, because a list that returns every tenant’s rows is the same bug with a bigger blast radius. Write endpoints get it too: an attacker who cannot read a record but can overwrite it is not a fixed bug.

Those tests stay in your suite so the next feature does not delete the check to make a fixture pass. The handover points each control at its test, so an assessor can see more than a screenshot.

07Can the engagement include rate limiting, CORS, and webhook verification?

Yes, when they are part of the access problem you asked us to close, and when they are named in the scope. Rate limiting on login and on token issuance is a normal companion to authentication work, because a perfect password check is still guessable if the route is unlimited. CORS is in scope when a loose policy lets an untrusted origin call a credentialed API. Webhook verification is in scope when a partner callback can change state and currently trusts the request body.

These are easy to over-claim. A rate limit is not a bot-defence product. A CORS allow-list is not a substitute for authentication. A shared HMAC on a webhook is not a substitute for identifying the tenant the event belongs to. We implement the control that matches the finding, and we write down what it does not stop.

If the finding is really about network exposure or a public admin port, that is cloud and server hardening. We will move it there instead of hiding it inside an API ticket.

08What access do you need, and how should we share credentials?

We need the repositories for the services in scope, a non-production environment where login and API checks can be run, and the role or identity setup those journeys use. If a hosted provider is part of the path, we need a non-production tenant and the least privilege that lets us change the agreed settings. Permissions, approved systems, and how access is removed are written down before implementation starts.

Please do not send passwords, API keys, tokens, or customer records through the general enquiry form. Access is arranged on the channel we agree after the scope exists, preferably as a role you can revoke rather than a shared secret in a message. Production access is not the default. If a control can only be proved in production, that step is called out and still needs your authorization.

The engineers who agree the access model are the ones who make the changes. Dockvio is based in Pune, and the access ends when the engagement ends.

09Can you work in our repository with our reviewers?

Yes. Changes go through your pull requests and your review rules. Your team sees the diff, the checks, and the note that ties each change to a control before anything is merged. If an owner has to approve changes under a path, we wait for that approval.

You keep the code. We are not a vendor who hosts a fork you are afraid to touch. Deployment still needs your authorization, including the moment a session change could sign every user out. We would rather ship that with you watching than discover it from a status page.

Disagreements are settled in review. If your team wants the check in a different layer than the one we proposed, we will move it, as long as the test still proves the control. The control is the deliverable. The file it lives in is negotiable.

10How much does authentication and API protection cost?

Price and time follow the journeys, the identity and API surface, the state of the codebase, and how much validation each control needs. A permission check on one endpoint and a session redesign across web and mobile are different jobs. A single API with a consistent middleware is cheaper to correct than six services that each invented login.

Discovery comes first. You get a written scope, a price, and a delivery schedule before engineering starts, and you sign off on milestones before the related payment. If the budget is fixed, say so at the start and we will phase the highest-risk access paths first: the ones that expose another user’s data, then token and session lifetime, then the hardening around them.

We do not add the independent penetration test to this price. If a retest is part of your plan, the provider’s fees are separate and should be booked before you commit to their date.

11Will this satisfy a customer who asked how we control access?

It gives you something true to show them. Customers and questionnaires ask who can authenticate, how sessions end, how an API decides authorisation, how keys are stored, and whether you have tested that one tenant cannot read another. An implemented control, a test, and a short note answer that better than a policy paragraph.

Security readiness support is the engagement that turns those questions into a response pack. This engagement is the one that makes the answers accurate if they are not already. We will not write the questionnaire as if a control exists while we are still building it. The current answer and the planned fix are different sentences.

A customer who wants a SOC 2 report or an ISO/IEC 27001 certificate still needs the independent firm that issues those. Dockvio does not. What we can sit next to that process is the access control the auditor or the customer is asking about, implemented in the product.

12Does this guarantee the API is secure?

No. The engagement addresses the login, permission, session, and API controls you approved, on the journeys written in the scope. It does not mean every endpoint was assessed. It does not mean a new route added next week inherits the check, unless we put the check where new routes cannot avoid it and left you a test that fails when they do. It does not mean the independent test has happened.

What you leave with is the implementation, the evidence for those controls, and a list of what was left out. Keep the tests. Have an assessor who is not us look at the result when you need an independent view. Keep maintaining the identity provider and the key rotation after we are gone.

If you want to talk about a specific report or a specific API, use the contact form or [email protected]. Name the stack and the journeys you care about. Do not send tokens or production credentials. We will tell you what we can change and what would be a larger redesign.

Still have questions? We're happy to help.Get in touch
Let’s work together

Let’s Discuss Your Security Requirements.

Have a security report, customer questionnaire, or deployment concern? Tell us what you need to address so we can discuss the scope and next steps.

Discuss Your Requirements
Independent retest
fix.diff
−
+
+
Validated