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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:36:17+00:00 2026-05-14T01:36:17+00:00

I am creating an web application and I at the point that i am

  • 0

I am creating an web application and I at the point that i am starting to make backend choices. Now there are a lot of ways to go with this, so I am looking for some good points and back practices.

Some of the question i have involve:

  • Should i make a seperate table in the db for admin users
  • Should i extend make some classes to load the admin data and the normal data, or make seperate classes for the admin section
  • Where can i get some information on making different types of users
  • Just some best practices for a backend

My application is written in PHP with an MySQL database.

  • 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-14T01:36:18+00:00Added an answer on May 14, 2026 at 1:36 am

    Keeping a separate table for admin users is nice, but only if those admin users aren’t “regular” users as well – otherwise you’ll step on your own toes trying to keep usernames/IDs unique but somewhat connected.

    A couple things to consider:

    • Apache authentication (or Windows accounts on IIS) for admin users. Separate system entirely, but allows for overlap – a regular user can be a regular user, but they can’t access any admin functionality until they authenticate through the browser. Works fine if you only have a couple specific kinds of user role (e.g. member & administrator only).

    • All users in one table, but with roles and permissions separate. This is the most flexible because you can get as granular as you need. For example, any user can “post comments,” while an admin can “delete comments” and “ban users,” but a moderator can only “suspend comments” and “mute users.” As you add new features, it’s simply a matter of implementing some new permissions & assigning them to the roles. Drupal‘s access control does this really well, worth a close look.

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

Sidebar

Related Questions

I asked this Can I automate creating a .NET web application in IIS? a
I'm creating a small application on an embedded device that has a boa web
When creating a web application that some how displays the display of a unique
I am creating a web application that acts as a priority list, allowing a
I'm writing a web application that involves a continuous cycle of creating (and removing)
When creating a web application, and lets say you have a User object denoting
I'm creating a web application for work where the user has to enter the
I am part of a team creating a web application using PHP and MySQL.
I am part of a team creating a web application using PHP and MySQL.
I am creating a mobile web application using asp.net. The application must support iPhone,

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.