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

  • Home
  • SEARCH
  • 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 7895501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T07:39:32+00:00 2026-06-03T07:39:32+00:00

I am implementing an authentication system into an existing database system. Currently, the database

  • 0

I am implementing an authentication system into an existing database system. Currently, the database has a “Person” table that includes things like: First Name, Last Name, Date of Birth, Email (username), etc. This is the primary table for a user.

I need to add the following fields for authentication: Password, IsLocked, LockDate, LastLoginDate.

Would you suggest putting these fields in the Person table or would you put them in a new Authentication table? My original plan was for “Person” to simply contain data about that person, not necessarily about authentication.

The other approach could be to store the password along with the email in Person, but then place the authentication data in a separate table. This way, the username and password would be in the same place, but the meta data would be in its own entity.

Anyone have any thoughts?
Thanks for the help!

  • 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-03T07:39:33+00:00Added an answer on June 3, 2026 at 7:39 am

    Keep the account information separate. Your current business requirement may be for each person to have only one account, but it could come up in the future that a person needs to have multiple accounts, or even that you need an account that is shared by multiple people. Having a separate table for authentication means that such future changes will have a smaller impact on your code.

    Also, from the perspective of protecting authentication information, the fewer people/processes that can access the account data the better off you’ll be. It’s much easier to implement table-level access than column-level access.

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

Sidebar

Related Questions

I'm implementing an authentication system in node.js with express backed by a redis database
I am implementing a Java EE based Hospital Management System that has a web
I've searched around and found that when implementing an authentication module in MVC architecture
While implementing some security aspects with Spring Security, I have noticed that both Authentication
I'm implementing OpenID support for a public website. Yahoo and Verisign openid authentication currently
I have a CherryPy application that is stateless but requires authentication. Rather than implementing
Before I started implementing Facebook authentication, my logout controller looked like this: # Kill
I'm in the process of implementing a user authentication system for my website. I'm
I would like to ask you a question about implementing mutual authentication with Kerberos,
We currently have a J2EE system implementing most of the OWASP top 10 security

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.