How to create a read only user

Hello

Please, can someone tell me step by step with complete orders to create a single read user who only read only access to tables. functions and procedures but will b totally restricted to make changes or can create all new items etc.

Hi Richa

Steps to create read only user: -.

CREATING USER

IDENTIFIED BY

DEFAULT TABLESPACE users

TABLESPACE TEMPORARY temp2;

GRANT CREATE SESSION, CONNECT to ;

BEGIN

FOR x IN (SELECT master, object_name FROM dba_objects owner WHERE IN ("SCHEMA1", 'SCHEMA2', "SCHEMA3") and object_type in ('TABLE', 'SEE'))

LOOP

RUN IMMEDIATELY ' GRANT SELECT ON ' | x.Owner |'. ' | x.object_name | » À ' ;

END LOOP;

END;

/

Concerning

Jihane Narain Sylca

Tags: Database

Similar Questions

  • How can we create a read only user for the peoplesoft back-end database

    Hi all
    I have fscm9.0 installed instance peoplesoft. Told me to create a new user similar to sysadm but with read-only access, an agency can help in this reagard?

    Create a user ordinary daabase.
    Create a public synonym for objects of the SYSADM.
    Finally GRANT SELECT on each unique objecs (tables and views) to SYSADM objects to the new user.
    You could also work through a database of ROLE and giving the role to the new user.

    Nicolas.

  • Create a read-ONLY access account, DOHAD

    People,

    We use the OID with OAM, as SSO at EBS.

    IO is 11.1.1.7.0.

    Can I create a read-only account in OID, this account can connect in DOHAD, to just able to do the read-only?

    Thank you

    Ashish

    People,

    Read this document, 746612.1 that will show you how to create an account only in OID.

    BUT also read this also: 1924840.1 very Important.

    Thank you

    Ashish

  • Restict read only users in some columns

    Hi guys,.

    I want to restrict read-only users to read only some of the columns on the table. How can I go on the limitation?

    Always include the following information when you ask a question:


    • Full version of APEX

    • Complete operating system DB, version, edition, host

    • Architecture of Web server (EPG, SST or APEX listener/host operating system)

    • Browser (s) and version (s) used

    • Theme

    • Model (s)

    • Region/item (s)

    935462 wrote:
    Hi guys,.

    I want to restrict read-only users to read only some of the columns on the table. How can I go on the limitation?

    Who are the users of readonly? How are they determined?

    What exactly are you talking about?

    Is this a report, if so which report interactive or classic?

    In one of them, you can make a conditional display of column with the same login

    Look at this for options http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/bldapp_rpt_att.htm#BCEBDIFA

  • Read only users and row locks

    Can read-only users get the line on non-temporary locks (i.e,. visible to other users) tables, for example through the SELECT updates, even if they couldn't change not ultimately of such tables?

    Yes.

    Here is an example with Oracle XE 11 G and a HR schema:

    Connect as a user with only CREATE SESSION and right to SELECT on the table HR.JOBS:

    SQL> desc hr.jobs;
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     JOB_ID                                    NOT NULL VARCHAR2(10)
     JOB_TITLE                                 NOT NULL VARCHAR2(35)
     MIN_SALARY                                         NUMBER(6)
     MAX_SALARY                                         NUMBER(6)
    
    SQL> select * from session_roles;
    
    no rows selected
    
    SQL> select * from session_privs;
    
    PRIVILEGE
    ----------------------------------------
    CREATE SESSION
    
    SQL> select owner, table_name, privilege from user_tab_privs;
    
    OWNER                          TABLE_NAME
    ------------------------------ ------------------------------
    PRIVILEGE
    ----------------------------------------
    HR                             JOBS
    SELECT
    
    SQL> select job_title from hr.jobs for update;
    
    JOB_TITLE
    -----------------------------------
    President
    Administration Vice President
    Administration Assistant
    Finance Manager
    Accountant
    Accounting Manager
    Public Accountant
    Sales Manager
    Sales Representative
    Purchasing Manager
    Purchasing Clerk
    
    JOB_TITLE
    -----------------------------------
    Stock Manager
    Stock Clerk
    Shipping Clerk
    Programmer
    Marketing Manager
    Marketing Representative
    Human Resources Representative
    Public Relations Representative
    
    19 rows selected.
    
    SQL>
    

    Now the connection as HR after statement hangs:

    SQL> connect hr/hr
    Connected.
    SQL> select * from jobs for update;
    

    Going back to the first session:

    SQL> update hr.jobs set min_salary=0;
    update hr.jobs set min_salary=0
              *
    ERROR at line 1:
    ORA-01031: insufficient privileges
    
  • How to make text read-only once it is recorded and distributed on the ground?

    How to make a read-only text field after it is registered adistributed d?

    LiveCycle Designer ARE 8.2

    Exit this JavaScript code on the event:

    textField1.access = "readOnly";

    This works after the user loses the focus on the field, but after it is saved and distributed, this field is no longer "read only".

    I need to have staff insert information into a text field and try it then distribute to clients, and these fields must be protected.

    How do you do that?

    No... .it has to be there to be a schema valid... but it is not used by the product offline.

    Paul

  • How can I uncheck "read only" in the download folder in a way that it will remain disabled

    How can I uncheck "read only" in the download folder in a way that it will remain disabled

    If done through properties does not stick, have you tried running the command attrib-r at the command prompt?

    Click Start, click run, type cmdand press ENTER.
    To view the syntax for the Attrib command, type attrib /? at the command prompt.

    Check MS article for more details.
    You cannot view or change the read-only or system attributes:
    http://support.Microsoft.com/?ID=326549

    I guess that you are authorized to make changes on this file, if it does not play here.
    How to set, view, change, or remove special permissions for files and folders in Windows XP
    http://support.Microsoft.com/kb/308419

  • Create read only user

    Hello

    I want to create a new schema user 'test '.
    Want the user just to read any table, insert into the table for the trial scheme.
    USER:hms1
    PASSWORD:hms1
    SCHEMA:test
    TABLESPACE:users

    Replace the name with your user name. It was only in read-only.

    http://StackOverflow.com/questions/7502438/Oracle-how-to-create-a-readonly-user

    If you want to give the insert, simply replace "select on" with "insert on.

  • Adobe is creating - JavaScript - read-only / gray fields according to the user's response

    I hope someone here can help me!

    I need to create an Adobe form where the answer to the first question greys out and makes some fields read-only.

    I am aware that I need to write a Java Script for that, but how do I do this? I did research for the days, and I can't function.

    Here is the example:

    The question is "is - this project fall under standard terms? ' and if the answer is Yes - so many questions should be ignored, as if the answer is no, the questions must be answered.

    I tried to have the first question as a checkbox, radio button and a drop-down with the 'yes' and 'no' option, but none of this seems to help.

    Can someone help me understand what I need to do? PLEASE, I BEG YOU!

    Thank you

    It is quite simple and can be made much simpler if give you all the names of optional field of a common prefix using a hierarchical naming scheme. For example, if you use a prefix of 'optional' so that you have domain names like "optional.name", "optional.address", "optional.email", etc. (note that the period character is critical here), you can set fields in the group to read-only with a single statement. Similarly, you can set the background color or reset the group, which is a good idea when the fields turn off/on. For example:

    var f_prefix = "optional";
    
    // Get a reference to all of the "optional" fields
    var f = getField(f_prefix);
    
    // Set them all to readonly
    f.readonly = true;
    
    // Set the background color to gray
    f.fillColor = color.gray;
    
    // Reset all of the fields
    resetForm([f_prefix]);
    

    You can place this type of code in the mouse event to the top of a box, something like:

    // Mouse Up script for check box
    // If checked, certain fields should be disabled
    
    var f_prefix = "optional";
    
    // Get a reference to all of the "optional" fields
    var f = getField(f_prefix);
    
    // Reset the optional fields
    resetForm([f_prefix]);
    
    if (event.target.value === "Off") {
        // Enable the optional fields
        f.readonly = false;
        f.fillColor = color.white;
    } else {
        // Disable the optional fields
        f.readonly = true;
        f.fillColor = color.gray;
    }
    
  • Create read only user to the database

    Hi all

    I need to create read only the user to one of the databases so that he should have the select query on all tables, views etc...

    Can I create a user of this type with the role OEM_MONITOR at once?

    Please advice
    Concerning
    Arun

    No.:

    SQL> select * from v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    SQL> create user toem identified by toem;
    
    User created.
    
    SQL> grant oem_monitor to toem;
    
    Grant succeeded.
    
    SQL> select count(*) from hr.jobs;
    
      COUNT(*)
    ----------
            19
    
    SQL> connect toem/toem
    Connected.
    SQL> select count(*) from hr.jobs;
    select count(*) from hr.jobs
                            *
    ERROR at line 1:
    ORA-01031: insufficient privileges
    
    SQL>
    

    Grant select ANY TABLE might work, but note it is generally regarded as a bad security practice:
    http://download.Oracle.com/docs/CD/E11882_01/network.112/e10574/guidelines.htm#CHDHFIFG

    Edited by: P. Forstmann on March 8, 2010 21:31

  • Create read only user FDM

    Hello

    We are FDM 11.1.2.1 and for some reason, I am struggling with the creation of a user who would have read-only access to some places in the application. I tried their implementation as a critical base and author, but when I do that users get an error message:

    Error: Your session has ended or expired. Please log in again.

    I tried setting them up as an intermediary 9 and then apply it on the precise locations of the critical level and author of security, same error message above.

    I tried checking the box of the listener in the configuration of user rights, but nothing helped.

    If all goes well, I'm missing something simple here, but far from solving all of the security object is an "easy way" to set up a user that I just want to see maps and/or execution of reports?

    Thanks in advance.

    There is not just a 'read only' security level of the user. You would need to adjust all of the security of the object accordingly.

  • How to create a virtual multi-user computer

    Our company has installed a new VDI and I'll put up the new virtual machine for our staff. I ran into a problem where I don't know how to create a virtual machine that will allow several people to connect. I have created several dedicated vm up to this point, but he must now create one where a user can walk up to the virtual machine, choose the journal and then to connect under a different. Any advice on how to implement and what type of pool is necessary are appreciated.

    Thank you

    Create a floating office pool with your desktop into it.  Then when the user disconnects.  User B can connect to the same workstation.  It is about the only way to do it with to a Terminal Server.

  • How to change the read-only, write protect status of files?

    Original title: change the State of the files.

    I have problems deleting files.  I need to know how to change the status of the files: e.g. "read-only, write protect, etc."

    Hi fbanks4,

    1. were you able to remove the files before?

    You can read the following article and try the steps to change the status of the read-only files:

    You cannot view or change the read-only or the attributes of system files in Windows Server 2003, Windows XP, Windows Vista or Windows 7

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

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Read-only - user files - can't change for write access

    In the users (only one user) section all the folders are read-only. I'm moving to the music in my music file, but it won't let me. I get an error indicating that this action requires administrator rights, the diolgue box Monte 'do you want to get permission for this action', click Yes, and then he says denied action! What happens - I have not had this problem before.

    I followed the cmd prompt 'attrib-r + s C:\Users\Mel and Steve\Music' and other combinates, but it wouldn't let me make changes.

    Help, please!

    Windows Vista

    This sounds like a permission problem.  When I came across a similar problem with Vista, I installed a registry patch that adds a' Take Ownership"option in the context menu to reset the permissions on the files."  Simply right click on a folder you are the difficulties to access to the, (IE C:\Users\YourUserName) and then click "Take Ownership" allows you to access these folders and all subfolders beneath it read/write. This is what solved my problems:

  • How to create a partition only for my operating system another to play with me?

    My relay problem that I had towing partition C: and D: drive, but I had to remove my D: drive because my C: drive was full, and now I want to create and partition only for my O.S. and only this, so that any other program can be installed in my D: drive.

    Someone could answer my question A.S.A.P. Please, I want to know if I can do it or not, and if I can how to do it.

    Before trying to partition, which is shown in management disks for disk 0? (the name of the partitions & sizes)

    This PC came with win7 preinstalled, and if yes do you have does the recovery discs?

    Note If you attempt to partition, without first giving that info, you can trash your system and lose everything on the disc

Maybe you are looking for