Access control table and select any table privs

Can we restrict access to a table of other users that have select any table privs? I think of the CAE, but not familiar with it. Not sure VPD can ensure the owner have access fulll and others not. Any idea?

-Denis

>
Can we restrict access to a table of other users that have select any table privs? I think of the CAE, but not familiar with it. Not sure VPD can ensure the owner have access fulll and others not. Any idea?
>

Yes it is possible with the SRM. Users with SELECT ANY TABLE would see no lines with the following method, which assumes that the owner of the table is HR:

connect system/pwofsystem
create or replace function only_owner (schema varchar2, tab varchar2) return varchar2 is
begin
return 'user=''HR'' ';
end;
/

BEGIN
  dbms_rls.add_policy(object_schema => 'hr',
  object_name => 'departments',
  policy_name => 'hr_policy',
  function_schema =>'system',
  policy_function => 'only_owner'
);
END;
/

Only the DB HR user is now able to see the rows in the table.
And sys, which has the privilege of POLICE TAX-FREE ACCESS.

Kind regards
Uwe

http://uhesse.WordPress.com

Tags: Database

Similar Questions

  • Open with options: I want to add a new application to the list right click on file-> open with and rearrange the list so my search app is first. I know that I can use open with-> other and select any application, but it takes too much time since I u

    I want to add a new application to the list right click on file-> open with

    and also reorder the list so my search app is first / top of the list.

    I know that I can use open with-> other and select any application, but it takes too long I should use my intended application in this way several times a day.

    Basically, I'm looking for a configurable way configure open with, something more to send to Windows.

    Thank you very much for all the advice offered.

    The operating system, not you, not control that open with the menu command.

  • When I use the control panel and select programs 'enable or disable the functionality of windows' list appears ever all I get is a blank window, no list, so I press ok or cancel, im getting nowhere

    I tried to fix the spooler sys error app in question, that I asked previously about Adobe flash plugin crash

    When I go to control panel and select Programs - turn off features the window if poster where the list would be, says wait then nothing appears

    I can't select the LDP and the LPR I read as the solution, I can also change the Internet printing Client because the list of options does not appear

    Hi Falcon,.

    I came to find this article pertaining to your question. There may be suggestions that you have already tried, try again with the others and an update on the same. Let's see if it helps.

    I hope this helps!

  • When I open the control panel and select system maintenance folder is empty. How to restore this file?

    Original title: maintenance missing system file

    When I open the control panel and select system maintenance folder is empty. How to restore this file? My support is also empty.

    Hello

    1. Were changes made to the software or hardware of the computer before the show?
    2. What backup you are referring to?

    Method 1:
    Visit the link below and run the Fixit.
    Difficulty of broken desktop shortcuts and common system maintenance tasks
     
    Method 2:
    Do a system restore and check. System restore allows you to use the computer from the date when it was working fine. Visit the link below.
    System Restore: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/system-restore-frequently-asked-questions
     
    Method 3:
    Run the System File Checker, visit the link below and follow the steps.
    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
     
    After running the System File Checker visit the below mentioned link to analyze the logs.
    How to analyze the entries in the log file generating the program Checker (SFC.exe) resources of Microsoft Windows in Windows Vista

     
  • Search for Windows 7 is not find, I know that the files are there and when I go into the control panel and select indexing options, it doesn't seem to work

    Windows 7 search is not finding I know that the files are there and when I go to the control panel and select the indexing options, it doesn't seem to work. I guess that's a place where the problem of index - what can I do?

    Microsoft has NO solution.

  • Difficulty accessing controls checkbox and textfield on the same line

    Hello

    Maybe someone can help me. I am having trouble getting a checkbox and a textfield on the same line. The new line, new field are both on 'n'. Using firebug I can see that the two elements are in the same < td > < table > tag.

    Unfortunately, the box is medium by a < fieldset class = 'checkbox_group' > < / fieldset > tag. And despite the fact that I changed the width of this class so that there is enough room, the textfield object begins on a new line (inside the < td > tag < table > even).

    Any suggestions?
    Kind regards
    Michiel

    You don't need to use JS to change the CSS!

    If you need to change the style for this page only, then put it in the header of the page

    that way if a bug will affect your JS that will defend no mater what and will be also much faster.

    Best regards
    Piotr

  • Deleted a program caused a reload Win XP, now the Stand of the icon is grayed out and selecting any folder opens search

    Loaded a GPS antenna program, caused the failure of access internet, deleted the program, reloaded Win XP with all

    updates, the standby icon is grayed out, click any folder open SEARCH.

    The Standby Option should come once you install Service Packs

    To stop the search for open aperture run it and enter it below

    regsvr32 /i shell32.dll

    There is a space after 32 and I

  • Firepower does not work when using the Active Directory group as a rule filter access control

    I am PoV of Cisco ASA with the power of fire with my client. I would like to integrate the power of fire to MS Active Directory. Everything seems to work properly.

    -Fire power user agent installation to complete successfully. Connection to AD work fine. The newspaper is GREEN.

    -J' created a Kingdom in FireSight and you can download users and groups from Active Directory.

    -J' created a politics of identity with passive authentication (using the field I created)

    -Can I use the AD account "user" as a filter in access control rule and it work very well.

    However, if I create the rule of access control with AD Group', the rule never get match. I'm sure that the user that I test is a member of the group. Connection event show the system to ignore this rule and the traffic is blocked by the default action below. It doesn't look like the firepower doesn't know that the user belongs to the group.

    I use

    -User agent firepower for Active Directory v2.3 build 10.

    -ASA 5515 software Version 9.5 (2)

    -Fire version 6.0.0 - 1005 power module

    -Firepower for VMWare Management Center

    Any suggestion would be appreciated. Thanks in advance.

    Hello

    You should check the download user under domain option. Download the users once belonging to a group is specified on the ad and then test the connection.

    Thank you

    Yogesh

  • Power of fire Access Control Policy - error after re-image

    Hello world

    I have recently given in image module power light (6.0.0) on a Cisco ASA 5512-x and I have this error on the section of access control policy:

    Whence this reference to politics? I have not deleted something, this is a new installation.

    Any ideas?

    Thank you

    Hello

    The error indicates that it might be a bad installation where there was a problem when restarting,

    You can try to import any other ASDM access control strategy and see if it works.

    If the problem persists, you will need to follow the steps below:

    1) uninstall the SFR
    sw-module module sfr uninstall
    
    2) wr mem
    3) Reload ASA ( in Maintenance window)
    4) load the boot image (6.0.0.1055)
    5) Load the package file
    Check the ASDM again and see if the policy apply works.
    
    Rate if it helps.
    
    Thanks,Ankita
  • Access control server - CASE

    Access control server - CASE

    Hi people,

    I have my doubts on the access control server and NAC - clean access server.

    The CASE of the NAC can do the job of the ACS?

    In my scenario, it acts as VMPS server, AAA server, or RADIUS server.

    Can someone help me?

    Thank you!

    Hi friend

    ACS is entirely different than the clean access server. See the below url for more details.

    http://www.Cisco.com/en/us/products/ps6128/products_qanda_item0900aecd803be813.shtml

    If it helps, please note or answering another question.

    Kind regards

    Rafael Lanna

  • How to prevent a user not to access a table of perticular? This user has select any table privilege. Please help me solve this problem.

    Hello

    How to prevent a user not to access a table special (xxx)?

    This user has SELECT a TABLE ALL privilege. I need to restrict to only not for access xxx to the table, but this table is not existed in its own schema.

    But there is access able as select * from schema.table;

    How can I revoke this privilege.

    Please help me solve this problem.

    Thank you

    Lacombe

    1623609 wrote:

    How can I select privilege on specific tables at the same time?

    I want to create a new user and grants the right to select for tables, except a table (xxxx).

    It will be possible without the keystone of the database?

    One way, in several sql

    coil doit.sql

    Select ' grant select on ' | owner: '. ' || table_name |' to someuser. »

    from dba_tables

    where

    spool off

    Then sanity check "doit.sql" and execute it.

  • Impossible to revoke 'select any table' system priv

    I created a new user and could revoke it select all table permissions. It seems that any new user oracle, I create a select it the permissions on the tables. I want only alow this new user to choose among 5 tables and not others. It seems that there is a global setting on the database to allow selection of any table. I can't change that, if this is the case, but I would like to create this limited user.

    How can I change the permissions on my new user oracle does not allow to select any table?

    Any help would be appreciated

    No, it is not possible. As the name suggested, the PUBLIC is everyone in society. You cannot exclude a person from the public.

  • Select any table except a few tables

    Database 11g:

    --------------------

    I would like to give a right to select user on all the tables, except in a few tables.  I thought to give "Select any table", but this does not also some paintings, should not access.

    2nd way is to go... one by one, select wise schema and grant privileges using script.  But it's a lot of time because we have the very large number of tables.

    Is there another way by which we can accomplish this easily.

    You must grant select to each table. Please do not choose any table - which is almost never appropriate.

    If it's so hard, just write a query like:

    Select "grant select on" | table_name | "from some_user '.

    from user_tables

    where table_name not in ('FOO', 'BAR', "Etc.")

    and reel the results to a file.

    If it is necessary, consider granting privileges to a role and then assign this role to a user - will make it easier to manage if you ever have to do the same for other users.

  • Insert using the table with the clause and select?

    Hello gurus,

    Can I insert in a table by making use of clause and select?

    something similar to this...
         insert into test_table
          (with abc as 
              (select * from emp_tble
               where dept_no = 10
               )
             select * from abc;
       );          
    
         if not i would i do by making use of  with clause & select ... any example would be great !!
    
    
      
    Thank you very much!!!

    Brackets are disturbing only:

    SQL> insert into test_table
       (with t as (select * from emp) select * from t)
    /
    Error at line 12
    ORA-32034: unsupported use of WITH clause
    
    SQL> insert into test_table
      with t as (select * from emp) select * from t
    /
    14 rows created.
    
  • Table control tab and size

    Hello everyone,

    I use control table for the first time and have problems in the following areas:

    1 when I start to insert values in cells, I could go and insert values with unlimited seemining the number of rows. Is there a way to limit the number of available lines in the table for a specific number? I tried to use the NumRow property, and apparently it is more useful to indicate the number of lines to display in the table control.

    2. when I hit the tab key, the focus shift from one cell to another, which is good, except that it does not jump to the last column. He goes from cell 4 to 5, 5 to 6 each time I type the tab key. But when he is in the 6 cell and I type the tab key, it climbs to 8 cells, instead of cell 7, which is what I expected it to do. Is there a way to fix this? See the image below.

    Thanks for your help.

    Yours,

    chati

    Hello

    Take a look at this little example. I hope this helps.

    Best regards

    Fabian

Maybe you are looking for