Manage IP allowlists and understand SSL/TLS encryption for your Nearbase database
IP Allowlist
Every Nearbase instance has an IP allowlist that controls which IP addresses are permitted to connect. By default, all IPs are allowed (0.0.0.0/0). For production databases, restrict this to only the IPs your application servers use.
You’ll see the current list of allowed IP addresses and CIDR ranges.
Add or remove entries as needed, then save.
Allowlist Format
Entries can be individual IPs or CIDR ranges:
Entry
Description
203.0.113.42
Allow a single IP address
203.0.113.0/24
Allow an entire subnet
0.0.0.0/0
Allow all IPs (default — not recommended for production)
Leaving 0.0.0.0/0 in the allowlist means your database port is reachable
from any IP on the internet. It is still protected by password authentication
and SSL, but removing broad allowlist entries adds an extra layer of defense.
Recommended Setup
For most deployments, allowlist only your application servers’ outbound IPs:
Single server: add its static IP.
Cloud provider (e.g., AWS, GCP): add your NAT gateway or egress IP range.
Local development: add your workstation’s IP temporarily. Remove it when done.
If your application runs on a service that does not have a static IP, consider
routing database traffic through a NAT gateway or VPN with a fixed egress IP.
SSL / TLS
All Nearbase databases enforce TLS encryption in transit. Connections without SSL are rejected at the server level — there is no way to disable this.
Encryption at Rest
Data stored on disk is encrypted at rest using AES-256 encryption managed by the underlying cloud infrastructure.
Certificate Verification
When connecting with sslmode=require, the driver encrypts the connection but does not verify the server certificate. For stricter verification use sslmode=verify-full with a trusted CA bundle, or rely on sslmode=require which is sufficient for most applications.
Your instance’s admin password is set during provisioning and displayed once in the console. Store it securely in your application’s secret management system (e.g., environment variables, a secrets manager like AWS Secrets Manager or HashiCorp Vault).If you need to reset your password, contact team@mail.nearbase.dev.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Nearbase","colors":{"primary":"#ff3131","light":"#ff5555","dark":"#cc2828"},"logo":{"light":"https://mintcdn.com/nearbase/EfvxtnSnIgThLbu9/logo/light.svg?fit=max\u0026auto=format\u0026n=EfvxtnSnIgThLbu9\u0026q=85\u0026s=1439b0dab2aebc6b23f16c1856638af9","dark":"https://mintcdn.com/nearbase/EfvxtnSnIgThLbu9/logo/dark.svg?fit=max\u0026auto=format\u0026n=EfvxtnSnIgThLbu9\u0026q=85\u0026s=efb44988ced65faf05ea5c248e46026a"},"favicon":"https://mintcdn.com/nearbase/T0t4L6mEmogx7XMa/favicon.svg?fit=max\u0026auto=format\u0026n=T0t4L6mEmogx7XMa\u0026q=85\u0026s=287e9ea550025e04550ca72b6b0746bd","footer":{"socials":{"discord":"https://discord.gg/34PT6UBb4p"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nearbase","hasAudioNarration":false,"actualSubdomain":"nearbase","customDomains":["docs.nearbase.dev"],"gitSource":{"type":"github","owner":"jiey2","repo":"nearbase-mono","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ad85479929d042d6445ab89","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Documentation","count":15},{"language":"default","tag":"Instances","count":7},{"language":"default","tag":"Billing","count":4},{"language":"default","tag":"Getting Started","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"instances/security","slug":"/instances/security","pageMetadata":{"title":"Security","description":"Manage IP allowlists and understand SSL/TLS encryption for your Nearbase database","href":"/instances/security"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Manage IP allowlists and understand SSL/TLS encryption for your Nearbase database\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`ip-allowlist`,children:`IP Allowlist`}),`\n`,_jsxs(_components.p,{children:[`Every Nearbase instance has an IP allowlist that controls which IP addresses are permitted to connect. By default, all IPs are allowed (`,_jsx(_components.code,{children:`0.0.0.0/0`}),`). For production databases, restrict this to only the IPs your application servers use.`]}),`\n`,_jsx(Heading,{level:`3`,id:`viewing-and-editing-the-allowlist`,children:`Viewing and Editing the Allowlist`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open the instance in the `,_jsx(_components.a,{href:`https://console.nearbase.dev`,children:`console`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Go to the `,_jsx(_components.strong,{children:`Security`}),` tab.`]}),`\n`,_jsx(_components.li,{children:`You’ll see the current list of allowed IP addresses and CIDR ranges.`}),`\n`,_jsx(_components.li,{children:`Add or remove entries as needed, then save.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`allowlist-format`,children:`Allowlist Format`}),`\n`,_jsx(_components.p,{children:`Entries can be individual IPs or CIDR ranges:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Entry`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`203.0.113.42`})}),_jsx(_components.td,{children:`Allow a single IP address`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`203.0.113.0/24`})}),_jsx(_components.td,{children:`Allow an entire subnet`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0.0.0.0/0`})}),_jsx(_components.td,{children:`Allow all IPs (default — not recommended for production)`})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Leaving `,_jsx(_components.code,{children:`0.0.0.0/0`}),` in the allowlist means your database port is reachable\nfrom any IP on the internet. It is still protected by password authentication\nand SSL, but removing broad allowlist entries adds an extra layer of defense.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`recommended-setup`,children:`Recommended Setup`}),`\n`,_jsx(_components.p,{children:`For most deployments, allowlist only your application servers’ outbound IPs:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Single server`}),`: add its static IP.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Cloud provider (e.g., AWS, GCP)`}),`: add your NAT gateway or egress IP range.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Local development`}),`: add your workstation’s IP temporarily. Remove it when done.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`If your application runs on a service that does not have a static IP, consider\nrouting database traffic through a NAT gateway or VPN with a fixed egress IP.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`ssl-/-tls`,children:`SSL / TLS`}),`\n`,_jsx(_components.p,{children:`All Nearbase databases enforce TLS encryption in transit. Connections without SSL are rejected at the server level — there is no way to disable this.`}),`\n`,_jsx(Heading,{level:`3`,id:`encryption-at-rest`,children:`Encryption at Rest`}),`\n`,_jsx(_components.p,{children:`Data stored on disk is encrypted at rest using AES-256 encryption managed by the underlying cloud infrastructure.`}),`\n`,_jsx(Heading,{level:`3`,id:`certificate-verification`,children:`Certificate Verification`}),`\n`,_jsxs(_components.p,{children:[`When connecting with `,_jsx(_components.code,{children:`sslmode=require`}),`, the driver encrypts the connection but does not verify the server certificate. For stricter verification use `,_jsx(_components.code,{children:`sslmode=verify-full`}),` with a trusted CA bundle, or rely on `,_jsx(_components.code,{children:`sslmode=require`}),` which is sufficient for most applications.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Require SSL (recommended default)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`psql`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"host={instance-id}.pg.nearbase.app port=5432 dbname=postgres user=admin password={password} sslmode=require\"`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`password-management`,children:`Password Management`}),`\n`,_jsxs(_components.p,{children:[`Your instance’s `,_jsx(_components.code,{children:`admin`}),` password is set during provisioning and displayed once in the console. Store it securely in your application’s secret management system (e.g., environment variables, a secrets manager like AWS Secrets Manager or HashiCorp Vault).`]}),`\n`,_jsxs(_components.p,{children:[`If you need to reset your password, contact `,_jsx(_components.a,{href:`mailto:team@mail.nearbase.dev`,children:`team@mail.nearbase.dev`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Security","description":"Manage IP allowlists and understand SSL/TLS encryption for your Nearbase database","href":"/instances/security"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"IP Allowlist","slug":"ip-allowlist","depth":2,"children":[{"title":"Viewing and Editing the Allowlist","slug":"viewing-and-editing-the-allowlist","depth":3,"children":[]},{"title":"Allowlist Format","slug":"allowlist-format","depth":3,"children":[]},{"title":"Recommended Setup","slug":"recommended-setup","depth":3,"children":[]}]},{"title":"SSL / TLS","slug":"ssl-/-tls","depth":2,"children":[{"title":"Encryption at Rest","slug":"encryption-at-rest","depth":3,"children":[]},{"title":"Certificate Verification","slug":"certificate-verification","depth":3,"children":[]}]},{"title":"Password Management","slug":"password-management","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"nearbase","siteName":"Nearbase","title":"Security - Nearbase","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-20T08:24:52.204Z","originalFileLocation":"instances/security.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Manage IP allowlists and understand SSL/TLS encryption for your Nearbase database\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nearbase\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nearbase/YQ02ywbnjXV2wVfd/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/nearbase/YQ02ywbnjXV2wVfd/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nearbase/YQ02ywbnjXV2wVfd/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nearbase/YQ02ywbnjXV2wVfd/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nearbase/YQ02ywbnjXV2wVfd/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nearbase/YQ02ywbnjXV2wVfd/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nearbase/YQ02ywbnjXV2wVfd/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nearbase/YQ02ywbnjXV2wVfd/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nearbase/YQ02ywbnjXV2wVfd/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Security - Nearbase\">\u003cmeta data-mint-head property=\"og:description\" content=\"Manage IP allowlists and understand SSL/TLS encryption for your Nearbase database\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nearbase\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nearbase.dev/instances/security\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nearbase.mintlify.site/_mintlify/api/og/v2?division=Instances\u0026amp;title=Security\u0026amp;description=Manage+IP+allowlists+and+understand+SSL%2FTLS+encryption+for+your+Nearbase+database\u0026amp;theme=5955fbf72da92885e9abcf6b\u0026amp;signature=56c837b2dcc78cec02c6d6d56bbd155380f641076ef2c171652dbbaa256b7071\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Security - Nearbase\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Manage IP allowlists and understand SSL/TLS encryption for your Nearbase database\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nearbase.mintlify.site/_mintlify/api/og/v2?division=Instances\u0026amp;title=Security\u0026amp;description=Manage+IP+allowlists+and+understand+SSL%2FTLS+encryption+for+your+Nearbase+database\u0026amp;theme=5955fbf72da92885e9abcf6b\u0026amp;signature=56c837b2dcc78cec02c6d6d56bbd155380f641076ef2c171652dbbaa256b7071\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/nearbase/YQ02ywbnjXV2wVfd/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nearbase\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff3131\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nearbase.dev/instances/security\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/instances/security.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nearbase.dev/#organization\",\"name\":\"Nearbase\",\"url\":\"https://docs.nearbase.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nearbase/EfvxtnSnIgThLbu9/logo/light.svg?fit=max\u0026auto=format\u0026n=EfvxtnSnIgThLbu9\u0026q=85\u0026s=1439b0dab2aebc6b23f16c1856638af9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nearbase.dev#website\",\"name\":\"Nearbase\",\"url\":\"https://docs.nearbase.dev\",\"publisher\":{\"@id\":\"https://docs.nearbase.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nearbase.dev/instances/security#webpage\",\"url\":\"https://docs.nearbase.dev/instances/security\",\"name\":\"Security\",\"description\":\"Manage IP allowlists and understand SSL/TLS encryption for your Nearbase database\",\"dateModified\":\"2026-10-20T08:24:52.204Z\",\"isPartOf\":{\"@id\":\"https://docs.nearbase.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nearbase.dev/instances/security#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nearbase.dev/instances/security#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Instances\",\"item\":\"https://docs.nearbase.dev/instances/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Security\",\"item\":\"https://docs.nearbase.dev/instances/security\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.nearbase.dev/instances/security#article\",\"headline\":\"Security\",\"name\":\"Security\",\"description\":\"Manage IP allowlists and understand SSL/TLS encryption for your Nearbase database\",\"url\":\"https://docs.nearbase.dev/instances/security\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nearbase.dev/instances/security#webpage\"},\"dateModified\":\"2026-10-20T08:24:52.204Z\",\"publisher\":{\"@id\":\"https://docs.nearbase.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nearbase.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nearbase\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Nearbase\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/instances/security.md","siteName":"Nearbase","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Quickstart","href":"/quickstart"},{"title":"Regions","href":"/regions"},{"title":"Connecting to Your Database","href":"/connecting"},{"title":"CLI","href":"/cli"}]},{"group":"Instances","pages":[{"title":"Creating an Instance","href":"/instances/create"},{"title":"Instance Classes","href":"/instances/instance-classes"},{"title":"Instance Lifecycle","href":"/instances/lifecycle"},{"title":"Monitoring","href":"/instances/monitoring"},{"title":"Backups","description":"Automated backups for your Nearbase PostgreSQL database","href":"/instances/backups"},{"title":"Security","href":"/instances/security"},{"title":"Parameters","description":"View and understand PostgreSQL configuration parameters on your Nearbase instance","href":"/instances/parameters"}]},{"group":"Billing","pages":[{"title":"Billing Overview","href":"/billing/overview"},{"title":"Pricing","href":"/billing/pricing"},{"title":"Balance \u0026 Credits","href":"/billing/balance-and-credits"},{"title":"Billing Profile","href":"/billing/billing-profile"}]}]}]},"basePath":"","title":"Security - Nearbase","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}