How to remove grant select to one user, if this table contains public subsidies.

Hi all

Owner of the table gave all access to a table to the public

for example

>

grant all on table1  to public;

But now for a user "user1" if we remove select grant

 revoke   select  on table1 from user1;

I get the error ORA-01927: cannot REVOKE privileges you did not

OK if I revoke all access to "user1."

revoke   all  on table1 from user1;

I get Revoke succeeded.

But always in the connection of the User1, I can select data from table1.

Why?

Is it because I gave all subsidies to the public?

Above scenario must revoke the access of a user to a table that has all government subsidies.

Yes, it's because SELECT on the table access has been granted to the PUBLIC.  The user still has the option to SELECT the table after you have removed the direct subsidies because they can always access privileges granted by the PUBLIC.

If you want all users to have access to the table, you shouldn't be granting access to the PUBLIC in the first place.  Create a new role, grant SELECT on the table for this new role and assign this role to all users need.

If for any reason, you're stuck with the issuance to the PUBLIC, I suppose you could create a policy from the CAE on the table that prevents the user to see all the data.  But it's a lot more work to get grants of privilege correct in the first place.

Justin

Tags: Database

Similar Questions

  • How to remove firefox don't forget user ID?

    How to remove firefox don't forget user ID? whenever I have connection to gmail to its shows the information.how user can remove that. Actually problem is by mistake that I gave my password in place and place the username... so after every time I login to gmail its display of the id of the user but which is actually my password.

    I enclose the screenshot... In the screenshot I marked in RED on the password that is on display in the user name field.

    Please help me...

    If necessary you can reach me at the

    Edition # phone public and spam/search bots like nobody here can't stand by phone.

    Hi, when selected, press the delete key.

    See also: If Firefox automatically fills in forms of control

    If your question is resolved by this or another answer, please take a minute to let us know. Thank you!

  • How to remove administrator privileges in one program?

    How to remove administrator privileges in one program?  I opened by mistake a program when he asked "do you want to run the program as administrator RHIs?

    I did rspond in the positive, and I can't load the program with the pixelations and enlargements of the screen.  Other than these specific issues, the program works,

    but it is too large, graphically, to work with.

    Hello


    1. What is the name of the program you have running with administrator privileges?

    2. what version of Windows are you using?

    Example Windows 7 Professional 64 bit

    3. What is the problem you are having with the program?

    Note: Some basic features of programs manage and perform tasks that may affect the important system files, where the prompt to run as an administrator is displayed to confirm the action. However if you do not want to run the program in administrator mode, you will not be able to use the full functionality of the program.

    Please follow the below link to remove
     
    Administrator mode starting a specific program.

    a. right click on the shortcut for the program / locate the specific programs of the programs files .exe file. Choose Properties
    b. click on the Compatibility tab

    c. at the bottom uncheck the box "run this program as Administrator" under the privilege level

    d. click on apply and ok

    Once this option is unchecked the program will work in administrator mode when every moment of execution.
     
    You can refer to the extra linksmentioned below for infomrtion.
     
    Configure Applications always run as administrator
     
     
    How to apply once with a full administrator access token?
     

    Hope this helps
  • How to remove the confirmation to the user?

    Hello

    Can someone tell me how to remove the confirmation to the user while sending sms from the application. When sending sms prompts it, well, it comes off? Sign the application deletes this prompt or he needs something else to do? Moreover, I would also like to know the confirmation when using http to call the url.

    Any help would be a great help.

    Thank you & best regards

    Sunil

    Please refer to this post for more information on the safety instructions that may appear in your application.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=320&query.ID=1785...

  • How to remove "/ > of the upper left portion of this page"

    Hello! I would really appreciate if someone can check this page and tell me how to remove "/ > of the upper left portion of this page tks!?"

    Rolled sorour - multidisciplinary artist

    His entry on the line of code below in your page. I don't know what it is or what it does... something to do with Facebook? Never seen a " / >

  • I accidentally created an email acct, how I remove to the newest one and not the former?

    Entally created an acct email, how do I remove to the newest one and not the former? And I get e just on the other.

    Play the 'e' (email?) to the old account first. You can drag and drop.

    To remove an account from Thunderbird:

    Tools | Account settings| < select the unwanted account > |

    Down at the bottom of the left pane, Account Actions , and then click remove account.

    Both accounts use POP? This could explain why new messages appear in the new account, but not the former.

    It might help to post your Thunderbird settings data: Help. Troubleshooting information. Clear the checkbox "include account names. Click on "Copy text to the Clipboard", then paste (ctrl + v) into your next post here.

  • How to remove a Microsoft Windows 7 user account

    Hello

    I accidentally finished with two accounts for Microsoft users. This only causes me no problems end. I want to delete the old one - because the news is on all my other devices.

    I saw you have instructions on how to do this in Windows 8.  But I'm on Windows 7. How can I remove the old Microsoft user account in Windows 7?

    Thank you

    Diana

    In fact, I solved my problem. But I would like someone helped me. I was about that AGE. But just in case someone else has the same problem (IE two WindowsLiveID or Microsoft accounts) you go to OneDrive (SkyDrive), log in, go to settings, until at the bottom there is an option to delete your account. I thank God for it.

  • How to remove the selected area with a script that would ignore the fact if the selected area is transparent or the fact that it has no selection?

    Hello

    My friend works on an action, who would edit images by removing the white background color. However, there are a lot of images with transparent background or after some other actions have no selection who had to be removed. And now he is facing simple problem, simple remove this feature brings a lot of table and the error Stops.

    The ideal solution to this problem would be if it would ba a script who could remove the selection and ignore stops as no selection and transparent.

    Can anyone help with this one?

    Settle into the Photoshop scripts forum.

    With a script, you would just put your code in a try/catch block. This intercept errors such as the selection of a transparent area and do not stop your script:

    try{
         //your code here
         }
    catch(e){
         //either no code, or code to do something if you get an error.
    }
    
  • How to get zone selected by the user in the Managed bean code

    Hello

    In our project, we use af:inputDateto to get details about the information of Date, time, and time zone.

    < af:inputDate label = "#{bundle." LABEL_1}.
    autoSubmit = 'true '.
    value = "#{pageFlowScope.attributeValuesBean.DateTime} '"
    valueChangeListener = "#{pageFlowScope.resourceCreateEditBean.pageValueChangedListener} '"
    ID = "id3" >
    < af:convertDateTime type = "both" timeStyle = timeZone = "#{"long"pageFlowScope.resourceCreateEditBean.preferredTimeZone}" / > "
    < / af:inputDate >

    the value attribute of date. MinValue is mapped with pageFlowScope.attributeValuesBean.dateTime which is a java.util.Date.

    for specific details, I used following code

    SimpleDateFormat sdf = new SimpleDateFormat ("dd MMM yyyy hh: mm: z");
    String s = sdf.format (date);

    which returns the date in the format "dd MMM yyyy hh: mm: z". However, this API will always return timezone of server, and in accordance with our project we need the details of the user selected time zone.

    is it possible to get the time zone selected by the user on the dateTime picker?

    Ajay,

    When LOV TimeZone is active on the date picker, it is not possible to retrieve the time zone selected by the user. There is an enhancement request filed for this feature.

    Since this is a known issue, there is a way to accomplish what you want:

    (1) the date picker does the conversion of the local time zone to UTC (GMT) time and provides a Java Date object.
    In order to bypass this conversion, you can use one of the techniques is:

    It's basically asking for the date picker to convert time UTC time UTC (no conversion) :-)

    (2) separate the zone LOV the date picker. You can use the function af:getCommonTimeZoneSelectItems() for this purpose.

  • How can I move photos from one user to another user on the same computer?

    If its possible that it is.

    If its possible that it is.

    The simple way is to move A user account photos to the PUBLIC folder.

    * Public folder is open to all users *.

    Once they are in the folder Public, just drag and drop photos on behalf of user B.

    I prefer to use the option copy to or Move To instead of drag and drop.
    Put all the photos in a subfolder > right-click in this subfolder > click on move or copy to > navigate to the folder of the user account B > click on move or copy.

    If you have no options copy verses and Yo move pop-up menu right click, here is a tutorial to install it:
    http://www.Vistax64.com/tutorials/89196-context-menu-add-copy-folder-move-folder.html

    Use an easier Option.

  • Grant select on all of the views to the public

    How to tune the selection on the all views to the public? Thanks in advance.

    782150 wrote:
    How to tune the selection on the all views to the public? Thanks in advance.

    spool doit.sql
    select 'grant select on '||
              owner ||
             '.' ||
             view_name ||
            ' to public;'
    from dba_views;
    spool off
    

    run doit.sql

    That's how it's done. Whether or not it is wise is a different matter.

  • What one user on this pc, can I go directly to the desktop without logging in?

    I am the only user on this computer.

    When I restart I always have to login with password.

    Is there a way to bypass this and go directly to the desktop?

    XP pro, ie8, 32 bit, svc pk 3, game change to quick start/manual user running.

    Thanks in advance for any help.

    Hey Elizabeth23,

    Is an Article here entitled "How to turn on automatic logon in Windows XP" so if you have not yet seen, I think you want to check.

    http://support.Microsoft.com/kb/315231

    Let us know if you have any questions or problems, but I think this should work well.

    Thank you!

  • Is it possible to select only one column of a table for the redaction?

    Hi, converted a Word doc with a table in PDF format.  You will need to write a single column of the table.

    Is it possible to select only one column for the redaction?  When we select and drag downwards, it selects the other columns in the following lines.

    With the help of Acrobat X Pro.  Any help is appreciated.

    Hold down the CTRL key and drag a selection.

  • How to copy a library from one user to another account in Windows 7

    In order to solve a problem in the installation of a new printer, the only solution that support Microsoft could find was to create another user account. They were certainly intended to copy all libraries to this account - My Documents is certainly there--but my images is not. Would appreciate advice on how to correct this problem. My intention is to delete the original user account that I am satisfied I will not lose anything.

    AAMT

    Log on to an account with "Administrator" privileges  You will be able to access the files from the old account and create your new account.

    It is not clear if you say that your new account doesn't have a 'My pictures' folder or if the folder my pictures in your new account is empty.

    If your new account doesn't have a folder my pictures, then proceed as follows:

    1. Click the start ORB, click computer.
    2. Go to C:\Users\
    3. You should see something like the following (you will probably see all these folders):
    4. Click on my images to select
    5. Click on the Edit menu, then click on "Copy to folder".
    6. In the window "Copy items" that appears, go to C:\Users\ and select this are you the folder with your username shows in the 'File' window
    7. Click on the button 'copy '.
    8. Once the copy operation, confirm that your new account now has a folder my pictures, and that all your photos are in.  Then go back and erase the contents of the folder my pictures in your old account.

    If your new account contains the folder my pictures, but this folder is empty:

    1. Click on the start ORB, then click on computer
    2. Navigate to\My Pictures C:\Users\
    3. Click anywhere in the right pane of Windows Explorer (where are the photo files/folders), and then click Edit > select all (or press CTRL + A) and edit > copy (or press CTRL + C)
    4. Navigate to\My Pictures C:\Users\
    5. Click anywhere in the right pane of Windows Explorer (the empty window), then click Edit > paste (or press CTRL + V)
    6. Once you confirm that all your images are in the folder my pictures of your new account, go back and erase the contents of the folder my pictures in your old account.
  • How to remove an older profile of users of a computer, I bought used?

    I don't know how I found this information in this computer I bought used recently,.., but I came across this other "user profile" and I bought this computer recently as "used" by a player/person, which they had plenty of extra things out there and I managed to delete the games, I can not get rid of a file , which says something like no access to this file,... It is an XML file, but that doesn't bother me, because as far as the other situation, that I do not use the games, they added, but I came across what appears to be the user's profile information, or either it may have been an example in your forum, but enough course that is the profile of the previous owner who was a page long and said they were working etc.? He also had their IP info from the company that they had internet access since, I managed to delete as he was in a different location, easy to remove, but I really am concerned about privacy and security, as everyone is these days. Thanks for any help on this!

    I don't think there is anyway to make sure that you are safe without wiping the hard drive clean and reinstall Windows

    There's always a previous chance injected system with an application to steal the data before you sell

Maybe you are looking for

  • Lenovo G500 boots only when battery is removed

    I bought a Lenovo G500 in April 2014. A few weeks ago, I noticed that it was getting hot and shut down (screening just empty and put off the power). I removed the cover and cleaned the fan and made sure that the laptop is kept in a well-ventilated. I

  • have sound but the microphone will not register

    laptop G60-235DX Sound and built into the microphone the microphone does not work

  • loyal customer lost, bad customer Service

    Hello, my name is Patrick Absher, a loyal customer of Motorola for many year. When I say loyal, I'm the guy who's always telling my friends, family and colleagues how are my products from Motorola. Pagers to the bottom when, and now cell phones, almo

  • How to format a 2 TB HDD Windows xp pro

    I just bought a Samsung 2 TB 32 MB cache hard drive. I partitioned and wanted to format the entire disk. I had a return of the small part and the rest unused. Do I have to load it a utility from microsoft or another company to perform this task? I se

  • Card support FireWire on Inspiron 660

    I bought your desktop Inspiron 660 with Win 8 (original version, I think) a year or two ago.  Eventually want to use devices USB Audio (sampler Edirol UA-25, helmet DAC etc.) which are not supported by base 8 Win, the cheapest solution was to upgrade