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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T16:07:46+00:00 2026-05-21T16:07:46+00:00

I’m starting to do maintenance on a web based system my company is taking

  • 0

I’m starting to do maintenance on a web based system my company is taking over. It’s quite large (at least for our standards). The designers of the system have created a database with two users, one with only SELECT privileges and the other also has UPDATE, DELETE and INSERT privileges.

I was wondering why they would have done this. Are SELECT statements faster when the user who executes them only has SELECT privileges? If not, what other reasons are there to do something like this?

Note; I can’t contact the original developers at this moment, I know that would be an easy way to get an answer….

EDIT: based on the answers I have some other questions. The web-application is the only application that uses the database. No one else connects to the database. The programmers (there were only two) have full control over what the connected user does. They have defended well against injections in the code. Isn’t the solution with two users just making things more complicated? Is this kind of “security” really necessary?

  • 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-21T16:07:46+00:00Added an answer on May 21, 2026 at 4:07 pm

    To answer your question privileges do not influence performance. They do influence what you can do to the database. The only performance impact privileges have are the check to see if you have the require privilege for the operation. This is not (or trivially impacted) by other privileges available to the user.

    It is clear the implementers followed (at least partially) least privilege principles. This is good security practice. Given you have two ids, I assume they are for applications. Applications only need to read the data should use the user id with only Select privileges. Other applications should use the other user id.

    Individual users not using the application should have their own user id with appropriate privileges.

    If you have users or applications which need to update data but should not be able to remove data I would use a user id with only SELECT, INSERT, and UPDATE privileges.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
Seemingly simple, but I cannot find anything relevant on the web. What is the
That's pretty much it. I'm using Nokogiri to scrape a web page what has
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I have a French site that I want to parse, but am running into

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.