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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:59:15+00:00 2026-05-24T17:59:15+00:00

I know there are many queries related to this question but my problem is

  • 0

I know there are many queries related to this question but my problem
is different.I want to make a Password Manager application which
stores host name,username,password,notes etc for each user. I can not
store these information in user’s column as there are multiple rows
for each user’s data.

So is it right in my case to create a separate table for each user
or I create a single table named “Host” and add all passwords there
with foreign key “username” as primary key in this table.Whenever any
query is executed it display only particular user’s rows.

User Table:- id:username:email:password:security question:answer

Host Table:- username:s.no.:host name:host username:password:notes

Which approach would be more effective and if there an better
alternative please let me know.I am posting my question first time
after gaining a lot from this website so please excuse me for my bad
grammar.

  • 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-24T17:59:16+00:00Added an answer on May 24, 2026 at 5:59 pm

    A correct approach would resemple something like this:

    Users
    ------
    id | username | email | encryptedpassword | security_question | encryptedsecurityanswer
    
    Hosts
    ------
    id | user_id | name | notes 
    

    Ceate a table for users and hosts. These tables are joined by the Users.id to Hosts.user_id relationship.

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

Sidebar

Related Questions

I will preface this question with the disclaimer that I know there are many
I know this question has been asked many times over, but I am currently
I know there are many threads regarding PHP sessions while ajax queries etc... but
I know there are many tutorials to use Dropbox as a Git repository, but
I know there are many questions similar but any of them didn't help. in
NOTE: I know there are many questions that talked about that but I'm still
First off, I know there are many different easier/reliable ways to perform what I
I know there are already many questions like mine but I found no answer
Related to this question: Wildcards in column name for MySQL Basically, there are going
I know there are many discussions about the emulator which is so slow that

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.