Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8457533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:49:56+00:00 2026-06-10T12:49:56+00:00

I have a table structured like this: ProjectID | Field1 | Field2 | Field3

  • 0

I have a table structured like this:

ProjectID | Field1 | Field2 | Field3 | ...
------------------------------------------
1         | aaa    | aaa    | aaa    | ...
------------------------------------------
2         | aaa    | aaa    | aaa    | ...
------------------------------------------
3         | aaa    | aaa    | aaa    | ...
------------------------------------------
1         | aaa    | aaa    | aaa    | ...
------------------------------------------
1         | aaa    | aaa    | aaa    | ...
------------------------------------------
2         | aaa    | aaa    | aaa    | ...

and some external systems that need to access this table to read data and write back one value at the and of the process.

The problem is that each external system will have to access only data related to his project, I.E.:

  • System 1 -> ProjectID = 2
  • System 2 -> ProjectID = 3
  • System 3 -> ProjectID = 1

I’d like to keep this data separated to avoid errors because these systems will be developed externally from our application and I can’t assume that they will use only their data.

I came across two solutions:

  1. Create a table for each ProjectID in a different DB schema, and give to every external system only the credentials to access their table.
  2. Create an updateable view for each ProjectID that extracts data only for a specific project, and give to every external system only the credentials to access their view.

Any other ideas?

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:49:58+00:00Added an answer on June 10, 2026 at 12:49 pm

    So if my other answer about an API won’t work for you, then the appropriate way of handling this securely is to have a complete separation of the data. Don’t intermix rows or store anything in the same table (or preferably database).

    I would create a client-specific database and give each external system only access to that database.

    Do you have a requirement to combine the data at some point? If so, you would lose key integrity, since you would have the same PKs (mostly) in each database table.

    If you do need to combine the data, and a multi-column key is not an option, then an updateable view is really your only option so that you can keep that integrity.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table structured like this: <table> <tr id=id1 class=parent></tr> <tr class=id1></tr> <tr
I'm a bit confused on this. I have a data table structured like this:
I have a MySQL table structured somewhat like this: type name value ===================== 1
I have a structure that looks like this: <div class=project_group> <table> <tr style=display:none> <td>...</td>
I have an table structure like this mysql> SELECT id, name, parent_id FROM categories;
I have a table structure like this: <table> <tr> <td> <ul> <li class=check></li> </ul>
I have my Table structure like this :: ATT_Table : Fields - Act_ID, Assigned_To_ID,
If I have a table structure like this: Transaction [TransID, ...] Document [DocID, TransID,
My table have data structure like this cate_id task_id date_start date_end other 34 14
We have a table with tree structure like this: Id Desc ParentID === A

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.