Security and 2FA
Protect your gitdb.net sign-in with emailed one-time codes, understand how GitHub and Google sign-ins and organization requirements interact with it, and sign in with enterprise SSO.
Two-step sign-in with an emailed code
Every email-and-password sign-in to gitdb.net takes a second step: after your password, you enter a one-time code that gitdb.net emails you. Two-step sign-in is always on for every account and can't be turned off.
To check it, open Settings and choose Security. On the page titled Password and authentication, the Email one-time code row in the Two-factor authentication card shows 🔒 Always on and Status: On.
Google and GitHub sign-ins use that provider's own two-factor protection — turn on two-factor authentication at your Google or GitHub account to protect them. When you sign in with Google or GitHub from a network that isn't one of your verified IP addresses, gitdb.net also emails you a code before it signs you in.
The same page lists the networks your personal access tokens and SSH keys can be used from. The IP allowlist that enforces this (IP allowlist enforcement) is always on too and can't be turned off: a token or SSH key used from any other network is refused.
On a home or mobile connection whose address changes (a DHCP re-lease, a hotspot), a token or SSH key tied to one exact IP stops working at every change. For that case, both credential dialogs and the Add CI or server IP form offer your current network as one click — Allow my whole network (a.b.0.0/16) / Use my current network — which adds your address's /16 network (IPv4; /48 for IPv6) as a CI range. Your exact current IP stays the default; the range is always your explicit choice. Like every CI range it must expire within 365 days (the one-click picks the latest allowed date) and never renews itself — Renew sets a new expiry, even after one has passed. Signing in from an address inside a network range you've already verified doesn't send the "new IP address" security email: that network is already yours.
Signing in with a code
Signing in with your email and password always takes one more step:
- After SIGN IN →, the page says "Enter the 6-digit code we emailed you to finish signing in."
- Enter the code from the email in Email code and click VERIFY →.
- If the email doesn't arrive, click Resend code. The page confirms "A new code has been sent."
You're signed in only after the code is accepted.
When your organization or enterprise requires it
Organization and enterprise owners can also require the emailed code for their members:
- Organization: an organization owner can turn on Require two-factor authentication in the organization's Settings → Organization settings: "Every member who signs in with email + password must enter an emailed one-time code. Members who use Google/GitHub already get their provider's 2FA. Available on all plans."
- Enterprise: an enterprise owner can enforce the Require 2FA policy for every organization in the enterprise.
Sign in with enterprise SSO
If your company has set up single sign-on for its enterprise:
- On gitdb.net/login, find Enterprise single sign-on at the bottom.
- Enter your work email (
[email protected]) and click SIGN IN WITH SSO →. - You're sent to your company's identity provider to sign in, then back to gitdb.net.
gitdb.net finds your company's SSO from your email's domain. If there isn't one, you'll see "No SSO is configured for this email domain. Use your password or a provider above." Administrators set SSO up in the enterprise console.
Change your password
If you sign in with an email and password, change it from the Password card at the top of Settings → Security. Accounts that sign in only with GitHub or Google have no gitdb.net password and don't see the card. A managed user signs in through the company's identity provider and changes the password there.
- Enter your Current password.
- Enter the new password in New password and again in Confirm new password. It must be 12 to 256 characters, different from your current password, and not a common password.
- Click Change password →.
When the change goes through, every other browser session on your account is signed out; the browser you made the change in stays signed in. Personal access tokens keep working. gitdb.net emails a notice to your account email, and to your backup email if you have a confirmed one, and the change appears in your access log.
Too many current-password attempts in a short time pause the check: the card says "too many incorrect current-password attempts — wait a while before trying again." Wait up to 15 minutes, then try again. The same limit covers every change that asks for your current password: changing your password or account email, and adding or removing a backup email.
Backup email
A backup email is a second address gitdb.net can reach you at about your account's security. It's never used to sign in. You can have one, and you manage it in Settings → Public profile, under your email.
Adding one. Click Add backup email, enter an address that's different from your account email, enter your current password if your account has one, and click SEND CONFIRMATION LINK →. gitdb.net tells your account email about the request and emails a confirmation link to the new address. The address becomes your backup only when you open that link within 24 hours, in a browser signed in to this account. Until then the section shows it as Awaiting confirmation, with Send a new link (which replaces the earlier link) and Withdraw request. An address that's already another account's email or backup email can't be added.
Using it for account recovery. A confirmed backup email can receive a password-reset link starting 7 days after it was confirmed. The wait means that someone who briefly gets into your account can't add their own address and use it to take the account over. Confirming the same address again restarts the 7 days. An account that signs in only with GitHub or Google has no password to reset; its backup email is told when the account email changes.
Removing it. Click Remove, enter your current password if your account has one, and click SEND REMOVAL LINK →. Nothing is removed yet: gitdb.net emails a removal link to the backup address itself and tells your account email. The backup is removed only when that link is opened within 24 hours, in a browser signed in to this account — so someone who gets into your account can't quietly cut off your backup. Until then the backup shows Removal pending and Send the removal link again. To switch to a different backup email, remove the current one first, then add the new one. If you can no longer open the backup mailbox, contact support to remove it.
Notices. Your account email is told about every add and remove request and when a new backup is confirmed. When a backup is removed, both your account email and the removed address are told. Password changes and completed password resets are emailed to a confirmed backup as well as to your account email.
Forgot your password
If you've forgotten the password you sign in with:
- On gitdb.net/login, click Forgot password? under the password field.
- On Reset your password, enter your email, let the human-verification check finish, and click SEND RESET LINK →.
- Open the link in the email. On Choose a new password, enter the new password in New password and Confirm new password, then click RESET PASSWORD →.
- Sign in with your new password.
You can enter your account email, or your backup email once 7 days have passed since it was confirmed. The page always answers the same way, so it never reveals whether an address has an account: "If that email belongs to an account that signs in with a password, a reset link is on its way. It expires in 30 minutes and replaces any earlier link. A backup email can receive the link once it has been confirmed for 7 days." Only accounts that sign in with a password are sent a link — not accounts that sign in only with GitHub or Google, and not managed users.
The link works once, for 30 minutes, and asking for a new one replaces it. If your account has a confirmed backup email, the address that didn't receive the link is told that a reset was requested. An expired, used or replaced link is refused with "This password-reset link is invalid or has expired. Request a new one."
A completed reset signs your account out everywhere: every browser session is signed out, and every personal access token and app sign-in is revoked. Create new personal access tokens and sign your apps in again afterwards. gitdb.net emails a notice to your account email and to a confirmed backup email.
Access log
Settings → Access log shows when you signed in to gitdb.net and from which IPv4 or IPv6 address, newest first (your latest 200 entries):
- Sign-ins — every completed sign-in, with how you signed in: email and password, the emailed code, Google or GitHub, Google or GitHub sign-up, or enterprise SSO.
- IP mismatch — each signed-in browser session remembers the address it signed in from. If that session is later used from a different address, the access log flags it with an IP mismatch warning naming both addresses: the one the session was signed in from and the one it was used from. This is a flag, not a block — the session keeps working. The same session and address aren't flagged again right away. A changing home or mobile connection (a DHCP re-lease, a hotspot) can raise genuine flags, so check the addresses before you act on one. Some older sessions show the sign-in address as unknown and are never flagged.
- Session revoked — a session you revoked from this page (see below): which session, from which address, and when.
- Password changed — a password change from Settings → Security: the address it was made from and when, noting that your other sessions were signed out. The session it was made from is labeled Current session when that's the one you're using.
Revoking a session. Each entry whose session is still signed in carries a Revoke session button; your own current session is labeled. Revoking takes effect instantly — the very next request with that session is refused — and the revocation itself becomes a Session revoked entry in the log. Revoking your own current session signs you out. If you see a sign-in that wasn't you, revoke its session first, then review what the intruder may have added or taken while signed in: your personal access tokens, SSH keys and CI & server identifiers (Settings → Security) — revoking the session does not undo those, and each has its own revoke on its settings page. Only sessions listed in the log (your latest 200 entries) can be revoked here; signing out on the device itself ends any session, listed or not.
Creating a personal access token or adding an SSH key normally sends a security email and an in-app notice. When you create it in the browser from the same address your session was signed in from, gitdb.net skips both — the access log already shows that sign-in. A token or key created from any other address, created with a personal access token, or created from a session whose sign-in address is unknown still sends the notice.
Keep your access secure
- Give each personal access token only the scopes it needs and an expiry date, and revoke tokens you no longer use.
- Delete SSH keys for computers you no longer use. Each key shows when it was last used.
- Never paste a private key or a token into a chat or commit it to a repository.
Enterprise
Run your organization under one enterprise contract — enforced policies, members, verified domains, OIDC single sign-on, SCIM provisioning, managed users, and enterprise billing.
GitDB for VS Code
Browse, edit, and commit code in your GitDB repositories from Visual Studio Code, with no clone.