Create the user who needs to see all Tables

I'd like my developer to be able to view all the tables when it connects to SQL developers and browse the tables.
What is the best that I can do this?

Please see what I've done below:
I have to create the user and granted privileges below, but he can't see any table when he opens a SQL Developer session.

GRANT CREATE session, CREATE table, CREATE view,
CREATE the procedure CREATE synonym
To mydeveloper;

The only way it can the tables so I'll give him the dba role, I don't want to do.

Any suggestion?

Hello

If by "all tables", you mean all the tables/views in the database, including those in the SYS schema (such as V$ session) SELECT ANY TABLE are not enough. To display tables/views of SYS, you may need to look into SELECT_CATALOG_ROLE or SELECT ANY DICTIONARY. For security reasons, I prefer to create a role and grant select necessary findings and then grant this role to the developers.

Ioan

Tags: Database

Similar Questions

  • create the user who can update another table schema

    Hello

    We have a system of prod in which we need to update the schema of the application running the declaration different update and create/run function, procedure, package bodies. It is very easy if you use the schema owner. But I need to run the activities of another user due to some restrictions. How can I do?

    Can u suggested to update any table privilege... but this would give all access table dictionary also.

    Is there any privilege that would allow any other user update another schema table without using the schema name before the name of the table?

    PLSS suggest

    John,

    Can we use public synonym for that?  I don't know if the risk of security for her:

    SQL > connect h/h

    Connected.

    SQL > select * from scott.emp;

    Select * from scott.emp

    *

    ERROR on line 1:

    ORA-00942: table or view does not exist

    SQL > connect scott/tiger

    Connected.

    SQL > create public synonym scotemp for scott.emp;

    The synonym is created.

    SQL > connect HR/hr;

    Connected.

    SQL > select * from scotemp;

    Select * from scotemp

    *

    ERROR on line 1:

    ORA-00942: table or view does not exist

    SQL > connect scott/tiger

    Connected.

    SQL > grant select on emp to HR;

    Grant succeeded.

    SQL > connect h/h

    Connected.

    SQL > select * from scotemp;

    ..

    ..

    14 selected lines.

    SQL > show user;

    The USER is 'hr '.

    SQL > update of ename set scotemp = 'SMITHX"where empno = 7369;

    setting a day of scotemp set ename = 'SMITHX"where empno = 7369

    *

    ERROR on line 1:

    ORA-01031: insufficient privileges

    SQL > connect scott/tiger

    Connected.

    SQL > grant update on HR emp;

    Grant succeeded.

    SQL > connect h/h

    Connected.

    SQL > update of ename set scotemp = 'SMITHX"where empno = 7369;

    1 line update.

    SQL > rollback;

    Complete restoration.

    SQL >

    Concerning

    Girish Sharma

  • How to create the user account of readonly for all devices to CISCO ACS?

    Elements of strategy > ... > Authorization and permissions > The peripheral Administration > Shell profiles > Edit: 'ReadOnly '.

    I tried all levels of privilege, but I am unable to connect to the "asdm" with only the privilege to read.

    so, can someone help me?

    I'm not an expert on all devices, but I can tell you that while you can use a name of user and password to access all devices, you can't have a "generic" set of rules. AAA services operate different based on the model/platform. For example, ASAs, WLCs and Nexus devices are completely different compared to the standard IOS routers and switches. For this this situation (ASDM read-only), you must check for this useful post:

    https://supportforums.Cisco.com/message/853437

    Thanks for the note!

  • How to find the owner of the user or who created the user?

    Hi all

    I want to know owner of user or users who created?

    example:
    system created the test user.
    test has created the user xyz.

    So I want to know who created xyz?

    Thanks in advance,
    Sandeep.

    You can not find who created the user unless you enable the audit of the database or write a trigger (CREATE ddl event-based) that will track the session information of the user who executes a command from the user to CREATE.

  • Need to see all the settings in the bios!

    I have a laptop HP G60 - 247CL

    I just put in 4 gigabytes of ram from corsair gaming super fast! Make sure that the settings are correct on the clock on the cylinder speed. Need to see all the settings in the bios but shows no not the memory clock speed!

    How to unlock bios to display all the freaking parameters. If I knew that HP has locked the bios, I would not have bought this piece of shit!

    I can't get CPU - Z no much, but that does not give me the ability to change speeds of memory. I need to make sure that they correct r. I need to be able to enter the wood to make changes. Locking the BIOS settings is really stupid!

    Message edited by hozer on 10/27/2009 16:26
    Message edited by hozer on 28/10/2009 09:06
    Message edited by hozer on 28/10/2009 09:07

    While the Insyde BIOS that is supplied with the units of G60 is insufficient information, there are other routes, you can take to check your ram timings. I found that the timing of the memory itself with enough accuracy on my G60-235 and was able to check it with CPU - Z and Everest Ultimate. (Which are both a freeware or a functional demo.)

    In particular, I noticed that the adjusted to 5-5-5-15 timings (OCZ DDR2-6400) after replacing the modules Kingston stocks. (Which seems to me to remember turned to 6-6-6-18).

    I hope this helps.

  • How to list all the users who have the privilege of s/n?

    How to list all the users who have the privilege of s/n?

    Peter

    Select * from dba_role_privs where GRANTED_ROLE = 'DBA ';

  • Create the user with privileges only data entry.

    Hello guys,.

    A very basic question. I created the request of APEX, well obviously the user with whom I created this application has developer access, now I want to create a user who is able to see the developed application, I tried to find the user options, but could not.  Someone can help me to find the option, I need to follow, so that the newly created user is only able to enter data into forms and run reports and should not be able to make changes in the application developed.

    Concerning

    Faisal Niazi says:

    A very basic question. I created the request of APEX, well obviously the user with whom I created this application has developer access, now I want to create a user who is able to see the developed application, I tried to find the user options, but could not.  Someone can help me to find the option, I need to follow, so that the newly created user is only able to enter data into forms and run reports and should not be able to make changes in the application developed.

    Create 'end users' by selecting No for the user is an administrator of the workspace and the user is a developer account privilege options create new user accounts. These users connect to the APEX Application Builder. It can be given direct access to a request by specifying the ID of the application or alias to the URL:

    apex.oracle.com/pls/apex/f?p=

    or

    apex.oracle.com/pls/apex/f?p=

    Using an alias for the application is recommended.

    To restrict user access to pages, components and specific applications, create authorisation schemes and the apply to the application level.

  • How do you know that a spesific procedure or function has been run by the user who and when?


    Hi all

    Suppose I have a procedure or a function whose name is MY_PROC. Is it possible to learn that the user who has been running this procedure and when?

    Thank you

    Hi NightWing,

    You need VERIFICATION for operations.

    11.2 docs: AUDIT

    For example:

    SQL> show parameter audit_trail;
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    audit_trail                          string      DB
    SQL>
    
    SQL> conn iarsov/iarsov
    Connected.
    SQL> create or replace function test_audit
      2  return date
      3  is
      4  begin
      5  return sysdate;
      6  end;
      7  /
    
    Function created.
    
    SQL> conn system
    Enter password:
    Connected.
    
    SQL> audit execute on iarsov.test_audit by access;
    Audit succeeded.
    
    SQL> select os_username,username,obj_name,owner from dba_audit_trail where obj_name = 'TEST_AUDIT';
    no rows selected
    
    SQL> conn iarsov/iarsov
    Connected.
    
    --call the function and trigger audit operation
    SQL> select test_audit from dual;
    TEST_AUDI
    ---------
    04-AUG-14
    
    SQL> conn system
    Enter password:
    Connected.
    
    SQL> select os_username,username,obj_name,owner,timestamp from dba_audit_trail where obj_name = 'TEST_AUDIT';
    
    OS_USERNAME          USERNAME                       OBJ_NAME             OWNER                TIMESTAMP
    -------------------- ------------------------------ -------------------- -------------------- ---------
    oracle               IARSOV                         TEST_AUDIT           IARSOV               04-AUG-14
    

    Kind regards

    Ivica

  • JDeveloper 12 c how to block created the user.

    Hello, this is my first post. I have a question regarding my request - I use JDeveloper 12 c. In my application, I have implemented the user file, which has all the users who can connect to my request. For each user, I have an option called 'user locked '. I want to do that if the user is locked, it cannot log in to my application. Someone has an idea how I can do?

    It is a code for my .java login:

    public class LoginBean {}

    private String _username;

    private String _password;

    public LoginBean() {}

    LogEvents.addSyslog ("OPEN", "Connection...", null, null, null);

    }

    {} public void setUsername (String _username)

    This ._username = _username;

    }

    public String getUsername() {}

    return _username;

    }

    {} public void setPassword (String _password)

    This ._password = _password;

    }

    public String getPassword() {}

    return _password;

    }

    public String doLogin() {}

    String _username =;

    Byte [] pw = _password.getBytes ();

    FacesContext ctx = FacesContext.getCurrentInstance ();

    HttpServletRequest request = ctx.getExternalContext () .getRequest () (HttpServletRequest);

    try {}

    CallbackHandler Manager = new URLCallbackHandler (UN, pw);

    MySubj subject = weblogic.security.services.Authentication.login (handler);

    weblogic.servlet.security.ServletAuthentication.runAs (mySubj, request);

    ServletAuthentication.generateNewSessionID (request);

    String loginUrl = ' faces/welcome. '

    LogEvents.addSyslog ("LOGIN. TRUE', 'Connected' - + this ._username, null, null, this ._username);

    sendForward (loginUrl);

    } catch (FailedLoginException fle) {}

    ResourceBundle resourceBundle = BundleFactory.getBundle ("abc.view.ViewControllerBundle");

    String msgTxt = null;

    If (resourceBundle! = null) msgTxt = ("LOGIN resourceBundle.getString. NOT VALID");

    If (msgTxt == null) msgTxt = "a bad user name or password was specified";

    LogEvents.addSyslog ("LOGIN. (FALSE', 'Error while recording -' + this ._username, null, msgTxt, this ._username);

    FacesMessage msg is new FacesMessage (FacesMessage.SEVERITY_ERROR, "Incorrect Username or Password", msgTxt);.

    ctx.addMessage (null, msg);

    setPassword (null);

    } catch {} (the LoginException)

    reportUnexpectedLoginError ("LoginException", the);

    }

    Returns a null value.

    }

    {} private void sendForward (String forwardUrl)

    FacesContext ctx = FacesContext.getCurrentInstance ();

    try {}

    ctx.getExternalContext (.redirect (forwardUrl));

    } catch (IOException ie) {}

    reportUnexpectedLoginError ("IOException", IE);

    }

    ctx.responseComplete ();

    }

    ' e private void reportUnexpectedLoginError (String errType, Exception) {}

    ResourceBundle resourceBundle = BundleFactory.getBundle ("abc.view.ViewControllerBundle");

    String msgTxt = null;

    If (resourceBundle! = null) msgTxt = ("LOGIN resourceBundle.getString. OTHER') .concat ("(") .concat (errType) .concat ("") ");

    If (msgTxt == null) msgTxt = "an unexpected error during the connection (".concat (errType).concat("), see the logs for details");

    FacesMessage msg = new FacesMessage (FacesMessage.SEVERITY_ERROR, "Unexpected error during connection", msgTxt);

    FacesContext.getCurrentInstance () .addMessage (null, msg);

    FacesContext.getCurrentInstance () .renderResponse ();

    }

    }

    Kind regards

    WK

    Hello

    for that, you or the other

    1 - write your own authentication provider in WLS that authenticates users, but also looks at the flag of "lock".

    2 use the SQL authentication provider and modify the SQL query to include indicator

    3 - in your code, check the user file before performing the authentication. At this point, you already have the user name. Just make sure that you don't tell people that their account is locked before you checked the authentication can be processed successfully. Otherwise - if you let them know right after comparing the lock check - your app can be used to exploit your underlying identity management system.

    Frank

  • user name of the user who runs an Apex application in a database trigger

    Hello

    I need to fill a field of the audit in a trigger of database with the username of the user who runs an Apex application.
    In Oracle forms, I would have used the keyword "USER", I tried to use
    the word 'USER' in my trigger, but it is up to the user "APEX_PUBLIC_USER". I guess
    all users get connected as long as 'APEX_PUBLIC_USER' at a certain level.

    Can someone tell me how I can get the real of the user connected to the application of the Apex of a database trigger?

    I thank in advance for any assistance.

    Might want this in addition:

    nvl(v('APP_USER'), user)
    

    Since the database has no notion of the Apex, if you never update/insert/etc ' ing outside a session of Apex, v() will return a null value. That may be fine for your needs, but if your column is not nullable, it will throw an error.

    Just something to consider.

  • Hi, I do not know where to turn: the person who takes care of all the stuff of count is out of town, this friend started Firefox and there was a message about an update, I thoght I again just click on install and wait to re start Firefox. But what I remem

    Hi, I do not know where to turn: the person who takes care of all the stuff of count is out of town, this friend started Firefox and there was a message about an update, I thoght I again just click on install and wait to re start Firefox. But what I remember is this another open window and asked me to choose 'something' (an icon or banner or?), I thought I have to click on an element (I guess I should read all clearly). Firefox updated to 3.6.4, but it also inserted some sort of what might be called a banner? But it does cover only partially the half right of my 3 toolbars at the top of the Firefox window. It cannot be used to something else because it's just a mess of colors and unknowns, except for what looks like a 'top' and what I recognize as an icon of Firefox (but only partially visible)! Now, what he does, it's partly hide this part all the toolbars and they are difficult to read and to do to turn this 'thing' impossible to understand, if I keep to? I can't find in any case to remove it or use it? But since the icon of Firefox is about it, I think you need to know what it is and how trash. I'm sorry for this accident caused my my inattention, but I'm not much of a computer person - HELP! Thanks for any help. Judi

    This has happened

    Each time Firefox opened

    Today is Thrsday June 24, 2010

    The only thing I can imagine: it's a character.

    Tools-> Add-ons-> Themes
    Here should be the character (light theme)
    and a button 'delete '.

    Click on it (delete button), and he (Persona, this mixture of colors) should disappear instantly.

    This help you?

  • I want to create the user in the direct areas but I found thi message: the requested account name is already in use.

    Over the period of re - use the account in the domains.live

    I want to create the user in the direct areas but I found thi message

    The requested account name is already in use or has been used in the past and has not been through the waiting period required of re - use.

    Can you help me

    Hi, Ahmed.

    It seems that the domain name you have selected is not available (or has already been used and it is found that the previous owner of the domain has used the same user name as an account).  In any case we can not help you here.  You need help from domain.live.

    Please go to http://help.live.com/help.aspx?project=domains&market=en-us&querytype=keyword&query=SNIAMODTUOBA&tmt=&domain=domains.live.com&format=b1 and down, click on support and follow the prompts to get help.  Although it is technically to the implementation of the field, I'm sure that your application will be either still answered or they will direct you to the proper location for assistance.

    In addition, you can try http://windowslivehelp.com/product.aspx?productid=25 for help Windows Live Administration.  If you can not find help with solutions validated or by performing a search, try posting in the forums.  I suggest the following for the problem that you specified: http://windowslivehelp.com/forums.aspx?forumid=7e6f04c0-6a48-4719-98f4-a9729d34c76e.

    I hope this helps.

    Good luck!

  • How to create the user to access the web console to Vcenter Server Appliance

    The default console is located at https:// < ip >: 5480

    For VC apparatus, the user who has access by default is root. Can I create another user level system and grant him access to the console?

    I tried to create a user by useradd m consoleuser and changed the passwd... However, I am not able to connect to the web console with this user...

    On a similar note, can I give access to the console to a user of the AD?

    Concerning

    Girish

    It is probably not supported by VMware, but it seems they're locking access web console rules of pam.

    You must modify the /etc/pam.d/vami-sfcb file to change the reading of the line "auth required pam_succeed_if.so uid eq 0' to succeed/deny rule change.»

    For example, you can change the line to read "auth required pam_succeed_if.so uid > = 0' and then allow any user with a UID of 0 or more to connect to the console of the web."

  • How do you assign the user who has logged in to the current session?

    Hello

    in oracle forms, you might affected the user who is logged on any field, for example field_name: = USER_ID;

    I need assign the user that has connected to a field in jdeveloper 12. How do you do that please?

    Thank you.

    Try this: https://www.google.com/search?q=adf+get+current+user

    CM.

  • Assignment of roles to the user when creating the user

    Hi all

    I gave a roll deposited (< dsp:input bean = "ProfileFormHandler.value.roles.role" maxsize = "30" size = "30" type = "text" / > on the registration page.) After registration, each field in db except role (table dps_role).
    Pls let me know what I am doing wrong.

    Thank you

    You should not assign roles to the user as 'ProfileFormHandler.value.roles.role' of 's profile. You can link formhandler property to which you can pass the name or id of the role that you want to assign role assignment must always route through safety ATG API in order to properly update the mappings of Homeland Security. Because of these dependencies, you should not try the role of simply call profile.setPropertyValue ('roles',...) The code cannot fail this way, but if you assign the role in this way then it may not work as expected when checking for role based privileges. Here's one possible way to do it:

    1. in your file properties formhandler declare a dependency on the directory of the default user, which by default points to the profile database:

    userDirectory = / atg/userprofiling/ProfileUserDirectory

    So, in the form Manager, you declare corresponding setUserDirectory() and getUserDirectory().

    2 then in the formhandler, get the DirectoryPrincipal objects associated with the user profile and the role you want to assign and then assign the role to the user:

    import atg.userdirectory.UserDirectory;
    import atg.userdirectory.DirectoryPrincipal;
    import atg.userdirectory.User;
    import atg.userdirectory.Role;
    import atg.userdirectory.DirectoryModificationException;
    
    import java.util.Collection;
    import java.util.Iterator;
    
    ..
    ..
    
    private boolean assignRoleToUser(String roleName, String userId) {
    
      UserDirectory userDirectory = getUserDirectory();
      DirectoryPrincipal userPrincipal = userDirectory.findUserByPrimaryKey(userId);
      DirectoryPrincipal rolePrincipal = userDirectory.getRoleByPath(roleName);
    
      User user = (User)userPrincipal;
    
      Collection collection = userDirectory.getRoles();
    
      boolean status = false;
    
      Iterator iter = collection.iterator();
      while(iter.hasNext())
      {
        Object obj = iter.next();
        if(obj instanceof Role) {
          Role role = (Role)obj;
          if(roleName.equals( role.getName() ) && user!=null) {
            try {
              status = user.assignRole(role);    //will return true if the role was added otherwise false
            }
            catch (DirectoryModificationException e) {
           //handle exception
            }
            break;
          }
        }
      }
      return status;
    }
    

    In the code above 'roleName' parameter is the name of the role to be assigned to the profile with the id as "userId". If you want to do the role assignment when creating the user, then you can do the things above in postCreateUser() so that you can get the Principal associated with the profile. For more information about the interfaces and classes used here, you can refer to the documentation of the API of the ATG.

    http://docs.Oracle.com/CD/E26180_01/platform.94/APIDoc/ATG/userDirectory/package-summary.html

Maybe you are looking for