Questions tagged [multi-tenancy]

Multi-tenancy involves a single software instance serving multiple groups, each of which has specific privileges to maintain separation of concerns.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Keeping customer secrets safe from sysadmins and devs in Kubernetes

I've spent a few weeks on GCP and GKE (Kubernetes) trying to figure out how to store customer secrets. The secrets are used by some application even when the user is not logged on so I want to ensure ...
Johan Hanssen Seferidis's user avatar
3 votes
1 answer

Multi-tenant SPA with multiple OIDC providers

I'm building a multi-tenant app that has the unusual requirement of allowing tenants to use their own choice of external systems for login/authentication ie: tenant 1 uses Azure AD, tenant 2 uses ...
Neil Thompson's user avatar
3 votes
2 answers

Is it secure for a platform to use the same private key for multiple clients' SSH connections? Specifically: In a text editor, add the below public SSH key to the authorized_keys file. The key must be all on ...
TCooper's user avatar
  • 376
1 vote
0 answers

How should SQL Server users be managed for a multi-tenant application?

I've looked extensively for a duplicate question, but I couldn't find anything that answers this question exactly. I have a SQL Server that will be used to store data for a multi-tenant application. ...
NicholaiRen's user avatar
1 vote
1 answer

Which OAuth2 flow should I use?

Context I'm trying to build an hybrid multi-tenant API using OAuth2.0 using Laravel 8 Passport, so my system has 2 parts: one process the request from the tenant application, and the other part ...
Ger's user avatar
  • 183
0 votes
1 answer

PCI Compliance and multi tenancy?

I am developing a Multi-tenant application to allow tenants to open an e-commerce shop (similar to Shopify). We are hosted on AWS. At this point there will be under 20,000 transactions in the first ...
shimsag's user avatar
0 votes
0 answers

Secure authentication for sites which allow user to modify js/html

We have a site builder, allows users to add/modify JS/HTML/CSS. Is it possible to provide a global authentication for it? I mean users login once but can interact with all sites as their own names. ...
hjahan's user avatar
  • 101
1 vote
1 answer

Risks associated with a compromised external Security token server

Consider the following architecture: An on premise Web API 2 [Written in C# hosted in IIS] which uses OAuth 2 authentication [ Implicit Flow ] to secure itself. This API acts as the data source by ...
MHOOS's user avatar
  • 111
1 vote
0 answers

Does a shared (but encrypted) private key for a group of users reduce the effectiveness of the encryption?

That is, is it generally considered more secure to save a single application-wide private key on the web server compared to storing (protected/encrypted) private keys in the database? More ...
James's user avatar
  • 113
1 vote
0 answers

Security concerns over predictable URLs in a multi-tenant environment

Consider a multi-tenant SaaS application that uses domain names to identify which customer to serve. Customers access the application using,, etc. The ...
Appleoddity's user avatar
0 votes
1 answer

Is it reasonably possible to enable vulnerabilities via gadget chains?

The meta question here is that I'm trying to understand the risks to multitenant java applications from gadget chains. For example, we're all familiar with the deserialization gadget that allows the ...
Blaze's user avatar
  • 354
2 votes
0 answers

Sharing individually encrypted elements between users of a system

I'm creating a file sharing system, in which the unique key of a file is one of the critical components to the retrieval of that file. For simplicity, lets say the unique keys are the file names. I'd ...
David Goldbarsht's user avatar
7 votes
2 answers

Manage SSL certificates for a multi-tenant website

We have given customers the option to allow custom domains which ultimately point to our server by changing the CNAME. Some of our customers would like to have SSL enabled to their domain but I am ...
Chandra Paudel's user avatar
0 votes
1 answer

Should we encrypt data in a multi-tenancy product in the cloud?

We have started to develop a multi-tenancy product. The product will be deployed in the cloud. Should we encrypt the product data? Should the data for each tenant be encrypted using its own key? ...
Michael's user avatar
  • 1,479
1 vote
1 answer

Security risks of multitenancy

Is there a security risk of using same firewall hardware as the company perimeter firewall device (providing multi-tenancy) which is already shared by other companies? Is there a possibility of being ...
user145935's user avatar
5 votes
2 answers

How to manage customer-supplied encryption keys in a multi-tenant cloud SaaS?

I'm working at an EU-based company and we'd like to offer business customers some kind of OS-independent cloud-based SaaS platform for processing and storing sensitive (health) data. We'd like to ...
Lucas's user avatar
  • 51
0 votes
1 answer

Reverse proxy sharing one certificate for multiple servers using Subject Alternative Name

The following is a scenario for an attack where one website can impersonate another. I am told (including by this answer) that it's impossible, but I would like to understand exactly what prevents it. ...
Thomas K's user avatar
  • 103
3 votes
2 answers

It it a good idea to whitelist inbound email using a Hash on the address? (Similar to BATV, but with DKIM)

Problem Statement I'm looking at ways to ensure that business partners, or emails from trusted senders, never get quarantined; other words prevent "ham being seen as spam". Ideally this ...
makerofthings7's user avatar
3 votes
1 answer

How to manage passwords in a multi-tenant surrounding?

I am building a multi-tenant application in a shared database model. I would like to encrypt sensitive data so that only a particular tenant could have access to his data. What is the best mode to ...
Dan's user avatar
  • 163
17 votes
3 answers

Multi-tenancy, SSL Certificates, and Subject Alternative Name

The X509 specification allows a CA to issue a single certificate for multiple hostnames, by using the "Subject Alternative Name" extension. From the spec: The subject alternative name ...
AviD's user avatar
  • 73.2k