Google Cloud security means protecting the accounts, settings and data you run on Google's cloud.
This guide is for founders, developers and anyone setting up their first Google Cloud or Firebase project. You do not need to be a security expert: a few early settings decide how safe the project starts out.
In short
- Google secures its data centres and services. You are responsible for your own accounts, settings and data.
- Protect admin accounts first: few super admins, security keys and a separate admin login.
- Newer Google Cloud organisations start with some safety rules already switched on. Check they are still in place.
- Give narrow access, set budget alerts and replace open Firebase test rules before real users arrive.
What you will learn
- Explain which parts of security Google handles and which are yours.
- Check the six first settings in a new project.
- Spot open Firebase rules that let anyone read your data.
- Ask a developer or supplier the right setup questions.
- Your space in the cloud (project)
- a container that holds your cloud resources, settings, billing and permissions.
- Top admin account (super admin)
- the account with the most power over your organisation's Google setup.
- Safety rule for the whole setup (organisation policy)
- a guardrail that blocks risky settings, whoever tries to make them.
What is Google Cloud security?
Think of renting a flat. The landlord fixes the roof and the wiring. You still have to lock the door and decide who gets a key.
Google Cloud works the same way. Google looks after its buildings, machines and core services. You look after what you build on top: who can log in, what each person and app may do, and how your data is shared. This split is called the shared responsibility model.
Your work lives in a project. Many apps also use Firebase, Google's toolkit for building app back ends (the part of an app that stores data and runs out of sight). Firebase projects are Google Cloud projects too, so the same care applies.[6]
Where the comparison stops working: a flat has one front door. A cloud project can have many doors, including admin logins, app keys and database rules. Each one needs to be locked.
Why does it matter?
A cloud project holds customer data and runs up real bills. One open setting can expose data or let someone else spend your money.
If you run a startup
What could happen: a stolen admin login gives a stranger control of every project you own.
Check this: count your super admins and make sure each uses a security key.
If you build apps with Firebase
What could happen: test rules left in place let anyone who finds your project read or change your database.
Check this: open your database rules and look for rules that allow everyone.
If you pay a developer or agency
What could happen: the project is built under their account, and you do not control the keys to your own business.
Check this: make sure your organisation owns the project and the billing account.
What does it look like?
Firebase lets you start a database in "test mode", which gives access to all users. Here is a made-up rules file left in that open state.
Example only. All values are made up.
# Database rules for EXAMPLE project shop-fake-0000
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if true; (1)
}
}
} (2)
- This rule says anyone may read and write every record.
- In a real file, these rules would protect the app's customer records, but here they protect nothing.
Why this is risky: Firebase warns that with rules like these, anyone who guesses your project ID can steal, change or delete your data.[5]
The safer way: users sign in, and each rule lets a signed-in user reach only their own records. Firebase suggests building rules that match how your data is organised.[5]
How does it work?
These are the first six settings to check in a new setup. The figure shows them in order.
- Protect admin accounts. Google advises security keys for super admins and a separate login for admin work, not for daily tasks.[1]
- Check the guardrails. Organisations created on or after 3 May 2024 start with a set of safety rules switched on. They include blocking long-lived keys for app accounts and limiting sharing to your own domain.[2]
- Give narrow access. Give people and apps only the roles they need, rather than broad roles like Owner or Editor. Our Google Cloud IAM for Beginners guide explains how.
- Turn on the right logs. Admin activity is always recorded. Records of who read your data are off by default for most services, so decide where you need them.[3]
- Set budget alerts. A budget emails you when spending passes a level you choose. An alerts-only budget does not stop spending on its own.[4]
- Lock down Firebase rules. Replace test mode rules before real users arrive.[5]


App accounts need care too. A service account is an account used by an app rather than a person. It is a kind of non-human identity (NHI). An NHI is a digital identity that represents a machine, application or automated process, so it can connect to other systems without a person. Avoid downloading long-lived keys for service accounts where you can, because a copied key can be used by anyone who holds it.[2]
A worked example
Jonah Osei is starting a fictional booking app for local tutors. He hires Odile Erikson, a freelance developer, to build it on Firebase.
In week one Odile creates the database in test mode, so she can build quickly. Jonah asks her to list what must change before launch.
Jonah remembers the rented flat. Google fixes the roof, but the door locks are his job. So they go through the list together.
First, admin accounts. Jonah is the only super admin. He adds a security key and creates a separate everyday account for himself.
Next, the guardrails. Their organisation is new, so the default safety rules are already on. Odile confirms that nobody has switched them off.
Then access. Odile gets a role for the parts she builds, not the Owner role. Her access has an agreed end date.
Jonah sets a budget alert at a level he can afford. He knows it only sends an email, so he makes sure the alerts go to an inbox he reads every day.
Last, the database rules. Odile replaces test mode with rules that let each tutor see only their own bookings. She tests them with two made-up accounts before launch.
The app launches with the main doors locked. Jonah books a check every three months to look at the list again.
Myths and mistakes
| What people think | What is true |
|---|---|
| Google keeps my project secure for me. | Google secures its platform. Your accounts, access and data settings are your job. |
| A budget will stop my bill going too high. | An alerts-only budget sends emails. It does not cap spending on its own.[4] |
| Nobody will find my Firebase project. | Apps on the internet can be found. Open rules let anyone who guesses the project ID reach the data.[5] |
| Everything is logged, so I can always see who read my data. | Admin activity is always logged. Logs of data reads are off by default for most services.[3] |
| The Owner role is fine for my developer. | Owner can change almost anything. A narrower role limits what one mistake can break. |
What can I do this week?
- List every super admin and check each one uses a security key.
- Check that your organisation, not a supplier, owns your projects and billing.
- Set a budget alert on each project that spends money.
- Open your Firebase database and storage rules and look for rules that allow everyone.
- Remove the Owner role from anyone who does not need it.
Checklist
- There are only a few super admins, each with a security key.
- Admins use a separate login for admin work.
- Default organisation safety rules are still switched on.
- People and apps have narrow roles, not Owner or Editor.
- Service accounts do not use downloaded long-lived keys where another option exists.
- Data access logs are on where you need to know who read data.
- Budget alerts are set, and someone reads them.
- Firebase rules allow each user only their own data.
Common questions
Is Google Cloud secure by default?
Partly. Google secures its platform, and newer organisations start with some safety rules switched on. But your accounts, access and data settings are up to you. A project can still be left open by a choice such as test mode rules.
What is the difference between Firebase and Google Cloud?
Firebase is a set of app-building tools that runs on Google Cloud. A Firebase project is also a Google Cloud project.[6] So the same admin, access and billing settings apply, plus Firebase's own database and storage rules.
How many super admins should we have?
As few as you can manage safely. Google advises keeping super admin accounts separate, protected with security keys and not used for daily work.[1] We suggest at least two, so the business does not depend on one person.
Will a budget alert stop a surprise bill?
No, not on its own. An alerts-only budget sends an email when spending passes your chosen level.[4] Someone still has to read it and act. Set alerts at several levels and make sure they reach a person who checks them.
Do I need to pay for extra security tools?
Not to start. The first settings in this guide, such as security keys, narrow roles, budget alerts and Firebase rules, are set up in the console. Paid tools can help later, as the project grows.
Where next?
Ready for the detail? Read the practitioner guide: Google Cloud Security Checklist. It goes further into organisation structure, policy settings, service accounts, detection and network controls, with a review record.
Also useful:
- Google Cloud IAM for Beginners
- Firebase Security Rules Guide
- Shared Responsibility Model for Beginners
- Service Accounts for Beginners
- Cloud Misconfigurations for Beginners
Related NHI Mgmt Group resources: Google Cloud Organization Policy Guide · Google Cloud Audit Logs and Log Sinks Guide · Google Cloud Service Account Keys Security Guide
Key terms
- The split of security duties between the cloud provider and the customer.
- Google Cloud project
- A container for cloud resources, billing, APIs and permissions in Google Cloud.
- Organisation policy
- A guardrail that blocks risky settings across an organisation, folder or project. It does not give anyone access.
- Service account
- An account used by an app or automated tool rather than a person.
- Firebase Security Rules
- Rules that decide who can read and write data in Firebase.
- Audit logs
- Time-stamped records of who did what, and when.
- Security key
- A small physical device that proves it is you when you log in.
Sources and further reading
- Super admin account best practices. Resource Manager documentation, Google Cloud. https://docs.cloud.google.com/resource-manager/docs/super-admin-best-practices, accessed 28 Nov 2026.
- Secure-by-default organizations (Google Cloud security baseline). Resource Manager documentation, Google Cloud. https://docs.cloud.google.com/resource-manager/docs/secure-by-default-organizations, accessed 28 Nov 2026.
- Cloud Audit Logs overview. Cloud Logging documentation, Google Cloud. https://docs.cloud.google.com/logging/docs/audit, accessed 28 Nov 2026.
- Create, edit, or delete budgets and budget alerts. Cloud Billing documentation, Google Cloud. https://docs.cloud.google.com/billing/docs/how-to/budgets, accessed 28 Nov 2026.
- Avoid insecure rules. Firebase Security Rules documentation, Google. https://firebase.google.com/docs/rules/insecure-rules, accessed 28 Nov 2026.
- Understand Firebase projects. Firebase documentation, Google. https://firebase.google.com/docs/projects/learn-more, accessed 28 Nov 2026.