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 7568213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T14:52:01+00:00 2026-05-30T14:52:01+00:00

I am building a web application that will deal with highly sensitive data. My

  • 0

I am building a web application that will deal with highly sensitive data. My thought on improving security is to create one database for login information, and a completely separate database that contains the sensitive data. Authentication for the secure database will rely on two part authentication through the login database, and validation of the user’s account in the sensitive database.

My question is: are there any better solutions out there? Is there a major security flaw if I maintain both of these databases on a single server? Is it more worthwhile to maintain a single database but just encrypt the contents of the secure database? Is it overkill to both encrypt the contents of the secure database and have separately authenticated access to it via a different user/pass in the config file?

Hope this makes sense. Thanks.

  • 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-05-30T14:52:03+00:00Added an answer on May 30, 2026 at 2:52 pm

    It depends on the most likely attack vectors for your web application. If SQL Injection is a risk for your app, having separate databases won’t help if a user can log-in legitimately then spoof your app into reading other records in the table they already have access to.

    One approach is to encrypt each record using a unique encryption key per user. That way if they did compromise one user account, the other rows will be gibberish. This is very slow, but if the information is that sensitive, you might have to live with that.

    The other approach is to not make the sensitive information directly queryable by the web-app. You have your web app & non-sensitive database running in a DMZ, and your sensitive database running behind a firewall separating it from the DMZ. You then use a web service or tightly limited database role to get the data as needed. Then on your web service/database side, you make sure the code can only deliver the records the logged in user is allowed to see.

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

Sidebar

Related Questions

I am building a web application with Spring Security that will live on Amazon
I am building a web application that uses the database for Users, Security/roles, and
I'm building a web application that will have access to PeopleSoft's database via jdbc.
I'm building a web application that will essentially allow 'admins' to create forms with
I'm building a PHP web application that will run on my machine, and one
I am building an ASP.NET web application that will use SQL Server for data
I am building a web application that will need to allow users to save
I am building an ASP.NET web application that will be deployed to a 4-node
I am building a web application that will pull event logs from multiple servers
I am building a web application that will essentially allow authenticated users access to

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.