Read only access on abc scheema to all other users

i want to give read only access on abc scheema to all other users. which command will be used.

Hi
Create a role first
CREATE ROLE ABC_SELECTONLY_ROLE IDENTIFIED BY anypassword;
Assign SELECT permissions to that role.
spool c:\grantprivs.lst
SELECT 'GRANT SELECT ON ABC.'||OBJECT_NAME||' TO ABC_SELECTONLY_ROLE;'
FROM DBA_OBJECTS
WHERE OWNER LIKE 'ABC'
AND OBJECT_TYPE IN ('TABLE', 'VIEW');
spool off
@c:\grantprivs.lst
Attach role to users (EXCLUDE USERS AS YOU LIKE. In this example we have excluded SYS, SYSTEM etc)
spool c:\attachrole.lst
SELECT 'GRANT ABC_SELECTONLY_ROLE TO '||USERNAME||';'
FROM DBA_USERS
WHERE USERNAME NOT IN ('SYS','SYSTEM',DBSNMP','SYSMAN');
spool off
@c:\attachrole.lst
You may wish to create private synonyms for the users.
CREATE SYNONYM USER1.TABLENAME FOR ABC.TABLENAME;
Regards
Adnan

Similar Messages

  • How to assign read only access for a database to a single user?

    Hi All,
    I have created a login for one of the user , and i used deny view to deny that user access to any of the databases to be shown.Now, he cannot see any databases in the explorer window.
    My question is now i want to give this user permission ( read-only) to a single database. How can i do that? I have googled around and found some solutions but nothing is working.
    Can someone please help me with any suggestions.
    Thanks a lot for your time and suggestions in advance.
    Thanks

    Hi Bhanu,
    Thanks for your reply, I am not sure i got it. I have a user created with the name of 'msam_test' and if i login into management studio with this userid and password i dont see any databases showing up because i used the DENY View command to hide which is
    working fine.Now i just want to see only 1 database named 'suresh3_test' with a read only access to this database.
    I tried using your code in the below way
    USE [suresh3_test]
    CREATE USER [<msam_test>] FOR LOGIN [<msam_test>] WITH DEFAULT_SCHEMA=[dbo]
     exec SP_ADDROLEMEMBER 'DB_DATAREADER','<msam_test>'
    But i receive an error saying
    Msg 15007, Level 16, State 1, Line 3
    '<msam_test>' is not a valid login or you do not have permission.
    Msg 15410, Level 11, State 1, Procedure sp_addrolemember, Line 75
    User or role '<msam_test>' does not exist in this database.
    Can you please help me on this.
    Thanks

  • I have two apple accounts, but can only access one. I did all the steps to recover the older account's password but nothing worked. I need to access the older account to update apps. Also would there be a way to just combine both accounts?

    I have two apple accounts, but can only access one. I did all the steps to recover the older account's password but nothing worked. I need to access the older account to update apps. Also would there be a way to just combine both accounts?

    Were you able to reset the account's password ? If not then how did you try to get it reset e.g. http://iforgot.apple.com (which would have sent it to the rescue email address if you have one on that account) ? You can also try contacting iTunes Support in your country to get it reset : http://support.apple.com/kb/HT5699
    And no, accounts can't be merged nor content transferred between accounts.

  • Read Only access to UCCX server

      Hi,
    I would like to know if it was possible to create an account for Read Only access for server in UCCX 8.02.
    Saima

    Saima,
    Unfortunately no it is not, you have either Admin access or supervisor access. The admin access has full access and supervisor access allows configuration of the RM subsystem either foe own team or all teams.
    HTH,
    Chris

  • Read only access to J2EE related tools

    Hello,
    I would like to help our auditors access everything they need to check in the Java systems, but I am not ready to give them ADMIN accounts. That`s why I need some kind of read only access for them.
    So I would like to ask you if there is a SAP Note about the read only access roles for J2EE/ Java AS?
    I am afraid there is no such note available, so can anybody share any experience with granting read only access to the Java system? I know how to grant access to the whole NWA, but what about the rest?
    Examples:
    - is there a way how to grant read only access only to the UME?
    - is there a role for read only access to the portal PCD?
    - is there something similar for KM access?
    Or has anybody ever tried to split the admin roles into smaller pieces? Is there a description/ document how to do such thing?
    Thank you for your time and effort,
    cheers Otto

    Hi,
    thanks for trying, but I can use help.sap.com and was on that page before.
    Maybe if there were any examples there or better: if the whole thing would be more granular (I see no point in using roles starting with SUPER, containing ADMIN or ending with ALL). I am looking for roles for surgery or for auditing. I don`t want to give anybody these super/admin/all roles just like that.
    If you can suggest how to use that page, that would be cool. Otherwise I see no use.
    By the way: another question of mine about surgery: How to restrict access to download/ upload UME configuration file
    I would like to know how to controla access to this specific feature, nothing else.
    Thanks for the time and effort,
    cheers Otto

  • Read-only access when saving metadata to file from Adobe Lightroom on a MAC OS to Windows shared drive

    We have a group of 5 people editing and indexing photos to a shared drive on a windows server, everyone has its own catalog and working on different folders to avoid any locking conflicts.
    The windows computers don't have any problems but the Mac's don't write the updated metadata to all files because they get the message "Photos have read-only access".
    The environment is the following:
    2x Macs workstations running:
    - Adobe Photoshop Lightroom 5.7.1
    - iMAC with MAC OS X Yosemite 10.10.2
    3x Windows Workstations:
    - Windows 7
    - Adobe Photoshop Lightroom 5.7.1
    Server:
    - Shared drive on a Windows Server 2012 Standard
    I have searched the internet, no one has this problem with this exact setup but I have tried all the solutions I found, namely:
    1. Connect to the network drive with cifs:// protocol
    2. Change the settings of the nsmb.conf for 'smb1_only' protocol
    3. Mount the drive manually by command line
    Nothing worked, any ideas?

    Did you ever find a solution to this problem?  I have the same issue and wonder if Lightroom 6 will resolve it.  I  tried AFP, SMB2, SMB3 and they all failed to save metadata randomly. When I use NFS from OS X then it works fine but it's a little slower than SMB and it's not as native as the mount via AFP or SMB, so it's harder to maintain.     My server is a FreeNAS 9.2 (FreeBSD) which is running Samba, Netatalk and native NFS.

  • User with read only access on a schema - How?

    Hi all,
    I want to create a user with ready only access to a particular schema. The user should have only 'SELECT' option on all objects of the schema.
    Thanks !

    Ven wrote:
    Hi all,
    I want to create a user with ready only access to a particular schema. The user should have only 'SELECT' option on all objects of the schema.
    Thanks !There is no single command. You have to grant object privelges by object.
    Use sql to write sql
    connect <schema_owner>
    spool doit.sql
    select 'grant select on ' || table_name || 'to <selected_user>;'
    spool off;Probably best if <selected_use> is a role instead of a specific user, then grant the role to whoever.

  • How enable read only access for ACS server itself

    Hi,
    We would like to know whether its possible to create a read only access to the ACS server. Currenlty ACS server has a generic login with full admin rights.
    We need to create a login to couple of users to log into ACS to check the "Report and Activity" tab. Access to all other tabs should be disabled.
    We are using ACS4.0 verison. Please let me know whether its possible.
    Thanks
    Nachi

    Hi,alexchy8
    We can make use of 2 PowerShell commands to achieve this goal.
    Add-MailboxPermission and Add-MailboxFolderPermission.
    Execute the Add-MailboxPermission command to delegate the read permission at mailbox level.
    Execute the Add-MailboxFolderPermission command to delegate the required permissions on specific folders inside the mailbox.
    You can read the following article as reference:
    http://www.exchangedictionary.com/articles/assign-read-only-mailbox-permission-on-exchange-2010-2013-powershell
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety,
    or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Best Regards.

  • How to create a read only access for database

    I am developer but willing to lear some of the dba tasks. I would like to know the steps that i need to take to creat a read only access database that is going to be used for the report development.
    I really appreciate if you tell me all the steps I need to create that. I have a full right to do this in the develpment database. thanks

    thank you for your reply but it does not tell me how i can set up a read only access acccount for the user. Do i need to create a role and assign the role to the users?

  • Read only access of a full schema ?

    Hi all,
    Can i create a role having read only access of a full schema ?
    Thanks in advance.

    Can i create a role having read only access of a
    full schema ?The point here is that there is not a single command to perform this task, so you will have to do it on a per object basis. If you want to give access to the complete schema then it is advisable to create a script to grant on each table and on each view from the source schema. By providing read only to the full schema, I understand you are referring not also to the tables but also to the views, sequences, and may be stored program units, so you will have to properly define the scope of this 'full schema'.
    Once you have properly defined the scope and have granted, as suggested by means of a role, then you may want to create synonyms for each granted object, so you don't have to qualify it with the schema name prefix when the object is being accessed.
    ~ Madrid

  • Read only access for objects in application designer

    I want to apply read only access to all the objects in application designer. I would like to know how we can do this.
    Jayaprakash Tedla

    Jayaprakash,
    On 8.48 :
    1. Create a PERMISSION LIST
    1.1 leave empty the navigator homepage
    1.2 leave unchecked Can Start Application Server? and Allow Password to be Emailed?
    1.3 On Pages tab, leave it empty
    1.4 On PeopleTools tab, check Application Designer Access, then click on Definition Permissions, Tools Permissions Miscellaneous and Permissions, and put there the rights as well as you want. You can put Read Only on all component in one shot by clicking on the button, or one by one by choosing in the listbox for each type of components.
    1.5 leave all other tab blank
    2. Create a ROLE, and add the permission list created on step 1.
    3. Create the user, and give the role created on step 2.
    4. Open Application Designer, connect there with the new user, and enjoy on read-only access.
    Hope this help,
    Nicolas.

  • Read only access for bpel console in SOA Suite 10.1.3.5.1(weblogic)

    Hi
    For SOA Suite 10.1.3.5.1 on weblogic, Is there any way to restrict certain users to some pages in bpel console.. e.g. read only access to bpel console.
    I have found articles on web regarding this but they all are for SOA Suite 10.1.3.3 (and 3.4) on Oracle app server. Article provides a hack by using servlet filters.
    How to do a similar thing in SOA Suite 10.1.3.5.1 on weblogic ?
    Can somebody provide step by step instructions?
    Thanks

    Hi James,
    I have already seen this link and several refined versions of it but it wont work for weblogic. For example
    There is no j2ee/oc4j_soa/applications/orabpel/console directory (i looked into home directory as well but could not found orabpel/console dir).
    So question is where to put filter class and how to make changes in web.xml as this file is not present in j2ee/oc4j_soa/applications/orabpel/console/WEB-INF/
    I checked deployments in weblogic admin console and seems BPELConsole is deployed as a module under BPELPM ear.
    Any idea?
    Thanks.

  • Read only access to Console Application ...

    We have deployed development best practice examples in one WLS instance. So, all
    developer can run our sample examples. All developer doesn't have admin privileges.
    Some times, developer would like to get "READ ONLY " access to console application.
    They can see JDBC / JMS / connection pool information.
    Is it possible to allow READ ONLY Access to CONSOLE application ?
    TIA
    Wlstech

    I don't think this is possible in the current release.
    Kumar
    "Wlstech" <[email protected]> wrote in message
    news:3af30e21$[email protected]..
    >
    We have deployed development best practice examples in one WLS instance.So, all
    developer can run our sample examples. All developer doesn't have adminprivileges.
    Some times, developer would like to get "READ ONLY " access to consoleapplication.
    They can see JDBC / JMS / connection pool information.
    Is it possible to allow READ ONLY Access to CONSOLE application ?
    TIA
    Wlstech

  • Read only access in MIIS

    Experts,
    How to provide read only access in MIIS?
    Thanks,
    Manohar

    Do you mean what MIIS security group needs to be added? If yes, then MIISBrowse sounds the one. You can find more from Technet:
    MIISAdmins - Members of this group have full access to Identity Manager.
    MIISBrowse - Members of this group are granted permission to gather user information through the use of Windows Management Instrumentation (WMI) queries.
    MIISJoiners - Members of this group can perform metaverse search operations in Identity Manager and can perform join and disconnect operations.
    MIISOperators - Members of this group can run management agents, view synchronization statistics and save run histories.
    MIISPasswordSet - Members of this group can perform all operations using the password management interface with WMI. This group also inherits the permissions of
    MIISBrowse.
    MIIS 2003 Security Considerations

  • Share iPhoto library: users have read only access

    I would like to share my iPhoto library with another user on my machine...BUT...I want them to have read only access to that library. I have done some searching and have only found solutions that give all users read/write access to the library. If anyone can help me do this I would really appreciate it.
    Furthermore, I would like to be able to give "no access" to the 2nd user on a file to file basis. For instance, I would like to import photos and set a few to "no access" and hopefully those files wouldn't show up in the 2nd users library but the rest would with read only access.
    Is this possible???
    Dual 2.3 GHz G5 Power Mac   Mac OS X (10.4.4)  

    Pelcinary:
    Welcome to the Apple Discussions. Check out my post in this thread: http://discussions.apple.com/thread.jspa?threadID=369124&tstart=0. It will do exactly what you want. The other users will have their own library, can edit, delete or do what they want but the source files will be untouched. You could put them in a folder giving them Read access to the folder only and let them point their alias based library to that folder. Don't think you'd want to use the Shared folder as they would have access to the source files via the Finder that way.

Maybe you are looking for

  • Numbers loses saved information

    I am running the latest version of Numbers, when I have updated a sheet I save it and replace the existing file. When I reopen the file up to 24hrs later, it has lost some or all of the updated information. It has not created another updated file els

  • How to Modify the WD4J components of Compliance Calibrator

    Hi, I would like to modify the Mitigated Users WEBDYNPRO-JAVA Compliance Calibrator components(GRC). Please let me know the procedure for the same. If we have NWDI can we modify it? Is there a separate .sca file for Mitigated Users? Are there any dep

  • Downloaded assistant. now what?

    I have windows8. I clicked in for a free trial of adobe flash player in order to download a free textbook chapter. Adobe allowed me to install adobe assistant. The icon is on my desktop but after it appeared, nothing else happeed. have I installed Fl

  • Combo box navigation

    I'm looking to use a combo box to navigate to a particular record in a data block, however when I change the combo box how do I get it to requery rather than just change the value for the current record???

  • Installing itunes 7

    downloaded the new software as instructed to so i could get new songs from the music store. now i am unable to access the music store at all. have ran a repair on the download and quicktime works but getting really frustrated as wont even let me acce