Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Good practice question in normalized tables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Divers
Thread ID:
01560084
Message ID:
01560584
Vues:
52
>> We are now creating an add-on product that keeps its data in sql server and plan to keep several companies in the same database with a Companies table that assigns a CompanyID for each company
>
>Hi Alejandro,
>
>A bug in your application -- unfortunately they happen -- may leak data belonging to one company to another company. Even if this seems to be an unlikely situation, you should consider it.
>
>E.g., if a company requests a backup of their data, you'll need to be sure that none else's data -- even inadvertently -- will get through.
>
>I would keep a separate database for each company. If this is not an option, at least keep companies under separate schemas. This will also allow you to separate access to data.

Hi Anatoliy, I appreciate your comment very much and will take it into account. It is still posible to keep companies in separate accounts.

Happy Holidays,

Alex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform