{
  "id": 23043912,
  "title": "Open Your Backend to Apps and Partners Without Handing Over the Database",
  "url": "https://urgent.news/2026/12/02/open-your-backend-to-apps-and-partners-without-handing-over-the",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-02T01:30:02.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/gewumind/open-your-backend-to-apps-and-partners-without-handing-over-the-database-54l4"
  },
  "original_language": null,
  "account": "Your backend is complete, and it is successfully running the business. Initially, the only consumer of your API was your own frontend. However, requests from various parties begin arriving: a mobile app team requests product and order data, a WeChat mini-program needs to read specific endpoints, a partner's system wants to synchronize records, and a hardware gateway wants to report status. The data resides within your system, but the challenge lies in allowing these external entities to access it without granting them full control over your database.\n\nThe initial instinct might be to provide partners with database accounts, but this comes with significant risks. There is no audit, no throttling, and no control over which tables they can access. If a credential is leaked, the data becomes exposed. Alternatively, handing them a backend login results in granting them access as if they were a person, with the same authorization limitations. Writing bespoke API sets for each partner further compounds the issue, as maintenance costs grow linearly with the number of partners, and there is no unified standard.\n\nThe root cause of this problem is the one-way nature of credentials. A database account represents a data identity, a backend login represents a human identity, and a bespoke API set is a one-off identity. None of these can effectively address the four essential questions any external integration must answer: who is calling? (identity), what may it call? (authorization), how much may it call? (throttling), and what did it call? (audit).\n\nTo resolve this, it is crucial to provide each integrator with its own app identity. An external system should never touch your backend account system. Instead, it receives an app identity and can only call the authorized endpoints. This approach ensures that identity, authorization, throttling, and audit all revolve around this single identity, and most importantly, they are all reversible. Access can be scoped down, throttled, monitored, and revoked as needed.\n\nGewuMind Boot builds this capability directly into the backend as a built-in open API gateway. The process involves registering an app, exchanging the appKey and appSecret for a token, authorizing specific endpoints, rate limiting, and logging calls. This capability is not an add-on feature but is included with the product's release packages. The README and user manual provide comprehensive guides, and the official site lists it as a feature available in both free base and standard editions.\n\nThe app management system allows for one app per integrator, each holding its own appKey and appSecret. The secret is shown only once during creation and can be reset at any time. A one-switch disable takes effect immediately. Token exchange is crucial, as it involves exchanging appKey and appSecret for a token, which is then used for all subsequent requests. Authorization is precise to path and method, with the ability to set individual rate limits for each authorized endpoint.\n\nCall logs record essential information such as the app, endpoint path, method, request IP, status code, latency in milliseconds, and request time. You can query these logs per app in the admin console, enabling you to troubleshoot, reconcile, and analyze rate-limit behavior. Exported onboarding documents provide a per-app Markdown guide that can be directly handed to the integrator, streamlining the onboarding process.\n\nTo ensure proper integration, ask whether you can revoke an integrator's access. This check covers all the bases and helps maintain control over your backend while providing external entities with the necessary access to perform their tasks securely and efficiently.",
  "summary": "Your backend is done. The admin console works, the business runs on it, and for a while the only consumer of your API is your own frontend. Then the requests start arriving: the mobile app team wants product and order data, a WeChat mini-program needs to read a few endpoints, a partner's system wants to sync records, a hardware gateway wants to report status. The data is all in your system. The…",
  "summary_source": "publisher",
  "key_points": [
    "Provide each integrator with its own app identity instead of database accounts or backend logins.",
    "GewuMind Boot offers built-in open API gateway to manage app identities, authorization, and logging."
  ],
  "editors_take": "Using app identities instead of database accounts allows companies to grant external partners specific access while maintaining control through precise authorization and monitoring.",
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}