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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:15:26+00:00 2026-05-28T07:15:26+00:00

As security tightening exercise, I’m removing all system privileges from an oracle database user.

  • 0

As security tightening exercise, I’m removing all system privileges from an oracle database user. Now this user ONLY has the following system privileges:

  • CREATE SESSION
  • UNLIMITED TABLESPACE

I was hoping that the user wont be able to do any DDL commands. But to my surprise, user can DROP TABLE in its own schema even though it can’t create one.

Oracle documentation says prerequisite for DROP TABLE is “The table must be in your own schema or you must have the DROP ANY TABLE system privilege”. Just that!!! I don’t understand the security logic of Oracle but is there any way I can prevent Users from dropping their own tables?

The alternative would be creating another user to run the application and grant object access, which I’d rather like to avoid as there are potential issues.

  • 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-28T07:15:27+00:00Added an answer on May 28, 2026 at 7:15 am

    A user will always have permissions to drop objects that they own. You can’t prevent that by revoking privileges.

    Since you’re looking at tightening security, creating a new user and granting that user whatever privileges they need to manipulate the data is the right answer. The only people that ought to be logging in to a production database as a user that owns application objects are DBAs and then only when they are in the process of deploying changes to the schema. Everyone else should be logging in to the database as users other than the schema owner.

    That being said, if the right solution is more work than you’re prepared to undertake right now, a potential stopgap would be to create a DDL trigger on the database that throws an exception if a DROP is issued against an object in the specified schema. This is less secure than the proper solution. You may miss something when implementing the trigger, you or someone else may drop or disable the trigger and forget to re-enable it, etc. And it makes security reporting much more difficult because you’ve got a custom solution that isn’t going to be obvious in the various security related data dictionary views which may create problems for auditors.

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

Sidebar

Related Questions

For security reasons, we'd like to limit an oracle user to only connect from
for security purpose I do some queries in this way: SELECT avatar_data FROM users
For security purposes, all system, images documents are located outside my website root directory.
For security purposes i am droping all the server roles from each login in
What security issues can arise from not closing the database connection after using it?
From security reasons, is it worth encrypting user emails before putting them into the
For security purposes, is the primary identifier of an Active Directory user the 'logonname'
for security reason, what is the minimum access level the asp.net membership user could
I have a security log table with 4 cols: UserID, LOGINDate, LOGINTime, ClickEvents Now
Would it be a security risk to set the user id and pass to

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.