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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:57:07+00:00 2026-06-01T20:57:07+00:00

my question is rather simple. Can i grant permissions on a database table wise?

  • 0

my question is rather simple.

Can i grant permissions on a database table wise? something in the lines:

  • User Management has permission to select, update, insert and delete on table Projects
  • User Supervisor has permission to select, update, insert on table Projects
  • User Colaborator has permission to select on table Projects

If so, I could set up a system to create database users based on the levels of access of my application, much like the examples above.

Is it a valid mechanism to use this to secure a application?
is it worth on a real world application?

i’ve used PHP with Oracle and MySQL, but I’m look for a database/language agnostic answer, but any example would be useful.

pushing my luck a bit, what about per record permission granting?
also, what about table schemas, are they a more acceptable then table based permissions?

  • 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-01T20:57:08+00:00Added an answer on June 1, 2026 at 8:57 pm

    The main problem with using database security would be that you need separate connections for each user rather than being able to use a “service user” for the connection from your application server to your DB server. That would mean that you would no longer be able to use database connection pooling have to “connect” and “disconnect” from the database for every user request, which is not very efficient as connections are relatively expensive.

    Having said that, there is good reason for using separate users in the database, such as DATA_USER (which the application server connects as) and DATA_OWNER (which owns all the tables but is used only for DB maintenance) and then only give DATA_USER the permissions that it needs to, e.g. only select on a lookup table. By separating DATA_USER and DATA_OWNER you can add an additional level of confidence that your application won’t issue DDL commands (e.g. dropping a table).

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

Sidebar

Related Questions

Have a rather simple question. Does anyone knows if i can use jparallax both
My question is rather simple, but I am stuck. How can I choose the
I know is a rather simple question but I just can't find an appropriate
Apologies for the rather simple question, I just can't seem to find ANY good
I am having a rather simple question can anyone tell me why this is
A rather simple question, but I can only find answers to more complex questions.
I feel like this is a rather simple question, but I can't seem to
I know this is a rather simple question, but I can't figure it out
The question is rather simple. How can I start a main method in another
I think, the answer to my question is rather simple, but I just can't

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.