- SaaS
- ERP
- Custom Software
How Do I Run One System for Two Companies We Own Without Them Seeing Each Other's Data?
Three ways to run two companies on one system while keeping their data apart: separate installs, multi-company ERP features, or multi-tenant isolation with role-based access. The trade-offs, and what to ask a vendor.
By Sameh Samy · Founder & CEO
7 min read
You run one system for two companies by giving each company its own walled-off data inside a shared platform (a separate "tenant" or "company"), then controlling access by role so every user sees only the company and the job they're meant to. You can get there three ways: separate installs of the same software, the multi-company feature many ERPs already have, or a multi-tenant system with per-tenant isolation and role-based access.
Which one is right depends on how separate the two companies really need to be, and how much they need to share.
Why is this harder than it sounds?
Owning two companies usually means two sets of books, two tax registrations, often two brands, and staff who should never see the other side's customers or numbers. But the owner, the finance team, and sometimes a shared warehouse or service team need to see both.
So you want two opposite things at once: strict separation for most people, and a combined view for a few. Every option below is a different balance between those two.
Option 1: Separate installs of the same software
Each company gets its own copy of the system, with its own database.
Where it works well:
- The companies are truly independent, with little shared staff, stock, or reporting.
- One of them has strict regulatory or contractual reasons to keep data physically apart.
- You might sell one company later and want a clean break.
Where it hurts:
- Every update, fix, and configuration change has to be done twice.
- Anyone who works for both companies needs two logins and two habits.
- Group-level reporting means exporting from both and stitching spreadsheets together.
Separation here is the strongest, because nothing is shared. The cost is that you're running two systems forever.
Option 2: The multi-company feature in an ERP
Many ERP and accounting packages let you define several companies inside one installation. Each company has its own chart of accounts and documents, and users are assigned to one company, the other, or both.
Where it works well:
- Your processes are standard enough that a packaged ERP already fits both companies.
- You mainly need separate books with consolidated reporting on top.
- The separation you need is about accounting, not about completely different ways of working.
Where it hurts:
- How strict the separation is varies a lot between products. In some, it's a filter on screens rather than a hard wall in the data. Ask.
- If the two companies work differently (different workflows, different branding for customers, different roles), you start fighting the package.
- Arabic, right-to-left, and local e-invoicing support vary by product and edition.
If a packaged ERP already fits how both companies work, this is often the quickest and cheapest route. Our guide on custom ERP vs off-the-shelf covers that choice in more depth.
Option 3: Multi-tenant with per-tenant isolation and role-based access
Here one application serves both companies. Each company is a tenant with its own isolated data, and the separation is enforced in the system itself: every request carries the tenant it belongs to, and the application only returns that tenant's records. On top of that, role-based access decides what each person sees inside their company: an accountant gets the accounts, a warehouse clerk gets the stock.
We explain how this works under the hood in What is multi-tenant SaaS?
Where it works well:
- You want one codebase, one set of updates, and one place to fix things.
- Each company needs its own branding or its own way of presenting itself.
- You want group-level views for owners without giving everyone access to everything.
- You may add a third company later, and want that to be configuration, not a new project.
Where it hurts:
- Isolation has to be designed in, and tested. A single query that forgets to filter by tenant can leak data. This is engineering discipline, not a checkbox.
- Deep customisation for one company affects the shared code, so you configure per tenant rather than rewrite per tenant.
- If you're building it custom, it costs more upfront than installing a package. For how to think about that, see our custom software cost guide.
Comparing the three
| Separate installs | ERP multi-company | Multi-tenant + roles | |
|---|---|---|---|
| Strength of separation | Strongest (physically apart) | Varies by product | Strong if designed and tested properly |
| Updates | Done twice | Once | Once |
| Shared staff | Two logins | One login, company switch | One login, sees only what their role allows |
| Group reporting | Manual stitching | Usually built in | Built in for the roles that need it |
| Separate branding | Yes | Often limited | Yes, per tenant |
| Fits when | Companies are truly independent | Standard processes, mainly separate books | Different workflows or brands, shared platform |
What should you ask a vendor?
Whatever route you take, these questions separate a real answer from a sales one:
- Where is the separation enforced? In the database and the application, or only by hiding menu items? Ask them to show you.
- What happens if a user is assigned to the wrong company? How quickly can you see it, and is it logged?
- Can one person work across both companies without seeing everything? For example, a shared accountant who sees both sets of books but neither company's customer list.
- How does group reporting work? Who can see combined numbers, and how is that permission granted?
- Can each company have its own branding, invoices, and tax setup? Especially if one company is in Egypt and the other in Saudi Arabia, with ETA and ZATCA respectively.
- What happens if we sell or close one company? Can its data be exported or removed cleanly without touching the other?
- Is there an audit trail of who saw and changed what, per company?
A working example: two brands, one system
We run this pattern ourselves. Best Aqua Solution is one system that runs as two separate brands, BestAqua and iFilter, from one codebase. Everyone who logs in sees only their own job: a warehouse clerk and an accountant open what feel like two different apps. Each brand goes live with a single tag, so a release is one piece of work, not two. And it's built in Arabic, right-to-left, from the first line.
The same idea runs through our other products. OCA-Clinic keeps every record locked to its own clinic, with permissions down to "only their own patients." You can see both on our products page.
Which should you choose?
- Choose separate installs if the companies are genuinely independent, you expect to separate them, or a regulator or contract requires physical separation.
- Choose an ERP's multi-company feature if a packaged ERP already fits how both companies work, and what you mainly need is separate books with combined reporting.
- Choose multi-tenant with role-based access if the companies work differently, need their own branding, share some people, or you expect to add more companies over time.
The short version
To run two companies on one system without them seeing each other's data, put each company in its own isolated space and give every user a role that limits what they see. Separate installs give the strongest separation at the cost of doing everything twice. ERP multi-company features are quick when the package already fits. Multi-tenant with role-based access gives one platform, separate branding, and per-role views, but isolation must be designed and tested properly. Ask any vendor exactly where the separation is enforced, and make them show you.
If you're weighing this for two companies of your own, tell us how they work today and we'll help you pick the simplest option that keeps them properly apart.