Grant to a specific user and deny for all other users

I have 100 users. Out of 100 users, i have windows & sql authentication users. I have a view "SQL_CONFIG_V" and want to give access to "corp\abc" (windows authentication user) and "poc" (sql authentication user) and all
system user id's(by default) like sys, information_schema etc. I want to deny all other users to see view defintion or alter this view "SQL_CONFIG_V" except the users that i specified here.

You can deny access to those users to the database, or they are have the access but you do not want them to SELECT that specific view? Do the users members of db_owner role?
GRANT SELECT on viewname TO freddie
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence

Similar Messages

  • Can windows xp use a different sound card for itunes - I want to use a sound card for itunes and another for all other apps

    Can Windows XP use a different sound card for itunes - I want to use a sound card for itunes and another for all ther apps

    To the best of my knowledge, Windows is not capable of setting a specific sound card based on the app being used, it's all or nothing.
    Try a google search or search the Microsoft site.

  • Can't access a school web site that I've used for years-can't log in with user and password. All other bookmarks are fine-tried several things including re-install-Other browsers are O.K.

    I have an iMac-have used Firefox exclusively for years. I can't access a school web site-can't get past the log in with user ID and password. Screen stays at log in screen. Tried clearing history-tried uninstall and re-install. All other web sites/bookmarks work fine. Thanks in advance.

    Try clearing the cache and deleting cookies for the site, this can sometimes resolve problems accessing sites that used to work. See [[how to clear the cache]] and [[deleting cookies]] for details.

  • Runlevel 3 for one user and 5 for the other...

    I want to set it up so that my wife, when she logs in goes straight into KDE as soon as she has logged in.  I want to, ideally, remain in a console after loggin in - is this possible?

    I don't know if this is exactly the proper way to do this, but you can put startkde at the bottom of your .bash_profile.  I think this file is executed/sourced every time you login.  It works for xfce4, it should for kde.
    EDIT:
    Also, if you wanted, you can create a .bash_login and simply add the following to the bottom of your .bash_profile
    [ -f ~/.bash_login ] && . ~/.bash_login
    which will check whether or not .bash_login exists, and if it does, it will source the file

  • Dunning form F150- Telefon/fax/mail printing for 1 user and not for other

    Hello expert,
    This is regarding the printing of the dunning form using F150. 
    At first, using company code and account clerk (BUSAB), we retrieve the user id.  The program uses FM BAPI_USER_GET_DETAIL to get the address details of this user id.  The user name, telephone and fax adn email are printed in the dunning form (1st reminder, 2nd reminder and so on).  The problem here is , the address details are printed on the form for one user and not for the other user who is processing.  Any idea regarding this.  Do I need to give any user setting parameter in SU01 or is there any authoriztaion issue which is blocking this.  Awaiting reply,
    Cheers,
    Bala

    I'm having the same problem with Exchange 2003, I can get it to work with Entourage and on my iPhone, but it keeps rejecting my password on Mail.app. If I keep entering the password it starts to update with server, but it won't save the password. IMAP is on for my account which is how it works on iPhone.
    I'm starting to think it has something to do with Keychain Access or Mail.app and not so much Exchange Server. If anyone has found a solution please let me know,
    Thanks

  • In weblogic server when I Setting Up a User and Tablespace for the Server M

    In weblogic server when I Setting Up a User and Tablespace for the Server Migration Leasing Table in Sql Plus I got an error. ORA-00972: identifier is too long

    Refer: How to: Grant User Access to a Report Server (Report Manager), but this gives a step-by-step procedure for
    adding users who are a part of the Domain. In your case you are trying to add users who are not a part of the domain, meaning, you are trying to create users only specific to Reporting Services, am I right?
    But Reporting Services either relies on AD to authenticate the users, or you can create a custom-authentication extension to authenticate the users.
    In your case, you might need use a custom security extension, and use that to create/delete/modify users. Check the Forms authentication Sample here:
    http://msftrsprodsamples.codeplex.com/wikipage?title=SS2008%21Security%20Extension%20Sample&referringTitle=Home
    Other references:
    Implementing a Security Extension
    How to: Configure Custom or Forms Authentication in Reporting Services
    Hope this helps
    Chaitanya( Twitter |
    Blogs )
    Any documentation bug? Tell us about it at
    Connect. Please feel free to add any community comments in any of the MSDN/technet articles.
    This posting is provided "AS IS" with no warranties, and confers no rights.
    The next CTP for SQL Server Code Name "Denali" is coming soon.
    Sign up now to be notified of the next CTP release.

  • Access denied for all (most?) users in all site collections of web app

    Hi,
    I have a Sharepoint 2010 farm pre-SP1 (yes should be updated!) and for all site collections of a web app, all users are getting access denied.
    Now in my title I said "most?" because I have found one user in another office who does not have this issue. This web app/site collections also do not go through f5 or any proxies.
    Even if I add myself as a site collection admin via central admin, I get the same result. I've looked at everything, windows time on the server (not using kerberos), errors in event log (nothing), uls logs just say access denied (very helpful!), etc...
    I can try what's suggested at http://social.technet.microsoft.com/Forums/en-US/e66f1b09-605d-4546-a581-2a9283c238c0/access-denied-for-all-users-and-for-site-collections-owner?forum=sharepointgeneralprevious but when asking colleagues, there's been no
    changes, let alone with those accounts? I can do a get on the property tomorrow to find if there is a value set first, however.
    Any suggestions on this?

    Hi,
    Please try logging in the site with farm account.
    If it works, please make sure you have superuser and superreader accounts in CA > Application management > web application policy. If not, please add both accounts with the powershell script in the article below, this can cause all users denied when
    access the site:
    http://technet.microsoft.com/en-us/library/ff758656.aspx
    Here is a similar thread:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/a49b1ab8-273f-41e4-a0b8-be0e31c6733b/all-users-including-site-collection-admins-receiving-access-denied-from-one-site-collection?forum=sharepointadminprevious
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • HT1386 How do I create one Apple ID and iTunes user name and password for all of my Apple products: iPad, iPhone, and iPod plus iTunes on my PC?

    How do I create one Apple ID and iTunes user name and password for all of my Apple products: iPad, iPhone, and iPod plus iTunes on my PC?

    Yes, I do have multiple devices and it appeared to me that every time I tried to sync or log onto iTunes, the password was incorrect.  Consequently, I was and am constantly changing it.  Wouldn't it be nice if Apple would simply say that you only need one Apple ID and one password regardless of the number of Apple devices you intend to sync via iTunes. 
    Barring the above, how about a way to merge all of the Apple IDs and passwords into one.

  • I have iTunes installed on a laptop that I use for work, but it's owned by my employer.  A new policy my have them deleting iTunes from the machine.  If that happens, will I lose all my music?  I am an iCloud user and pay for iTunes match.

    I have iTunes installed on a laptop that I use for work, but it's owned by my employer.  A new policy my have them deleting iTunes from the machine. If that happens, will I lose all my music?  I am an iCloud user and pay for iTunes match.

    If they just delete iTunes, the music files should still be there. I suggest making a backup of them though. Locate your iTunes folder (The one that contains your library file) and just copy the whole thing to your Documents folder or wherever you like (Just not in the same directory of the original folder otherwise the computer will get confused and could confuse your iTunes library). Then you will have a backup of all your music, plus if you purchased it from iTunes, you will still have it linked to your Apple ID so you can re-download them to any computer with iTunes on it when you feel like it.

  • Default Color, Size and Font for all user.

    Hi
    I have been looking around for the correct way to set some default styles for all Word users in a domain thrugh GPO. I just have some questions.
    So far i can only get it working if it set a "Workgroup templates path" under "User Configuration/Administrative Templates/Microsoft Office 2013/Shared paths". Then the users are able to select it when they say "New" - "Shared"
    and then the template
    But i would like it to be default for all users, like in the Normal.dotm. But without making a script to replace the file for every users APPDATA.
    Then i saw the "User Configuration/Administrative Templates/Microsoft Office 2013/Shared paths/Enterprise templates path", how and what does that do?

    Hi,
    As far as I know, if we want to distribute the Normal.dotm to users in a domain through GPO, we could
    use GPP file extension to
    distribute Normal.dotm to the path "C:\Documents and Settings\user name\Application Data\Microsoft\Templates." for every user. For more detailed steps, please refer to the following link:
    http://technet.microsoft.com/en-us/library/cc772536.aspx
    Similar issue:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/87ab10d3-1cb6-4269-9334-1e0c37527e0a/move-location-of-normaldotdotm-to-central-file-server-best-solution?forum=winserverGP
    If you want to config Enterprise templates path, please read this thread:
    https://social.technet.microsoft.com/Forums/office/en-US/c4e5c872-402c-4339-9c02-cfa91e949e41/office-2013-templates-group-policies?forum=officesetupdeploy
    If you have further question about the GPO, I recommend you post it to GPO forum:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverGP
    Regards,
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • User and Password for JMS-Adapter

    Hi all,
    when configuring JMS-Adapter e.g. for IBM MQSeries i do not find field where to specify the user and password for the MQ. We configure e.g. a receiver communication channel.
    In 2.0 JMS-Adapter we can put user and password like this
    JMS.QueueConnectionFactoryImpl.user=YTEST
    JMS.QueueConnectionFactoryImpl.password=<!%YTEST%!>
    in the property file. We can also hide the passwort with
    the mechanism of password token.
    How can this be done in JMS 3.0 Adpater? Is it possible?
    Thanks,
    Ly-Na Phu

    Oh, sorry. Now i see the field for user and passwort.
    Thanks,
    Ly-Na Phu

  • Users and permissions for a small home server

    Hello community,
    I have been using Linux on the desktop for many years now, but unfortunately my knowledge about servers is very limited, almost non-existent. Therefore my question is most probably equally well fitting here and into the newbie corner.
    I'm trying to set up a little home server which should be in charge of following tasks:
    - CUPS print server in the local network
    - access to shared files through NFS in the local network
    - backup (again over NFS)
    - an Owncloud server
    - maybe a mail server in the long run (NSA, paranoia, etc. )
    For now I have set up the print server, the NFS server and was working on the Owncloud installation, when Owncloud gave me some errors with users and permissions. So I was led to the idea of rethinking the users and permissions on server. So far there is only the root user who may do everything. This seems like a quite unsafe configuration. I'd like to make it safer. First, the printer, the backup and the locally shared files should be accessible from the local network only. SSH access should also be accessible locally only. The Owncloud file folder should be accessible from the internet, but of course only for the Owncloud users registered to the Owncloud server.
    What is the best way to set up users and permissions for such a set up?
    Thanks for any hints,
    PhotonX

    Hi, i think it depends who are you serving for, if you are just serving for a small office or home server or a big organization. The following quick thinking just came to me:
    I think cups set automatically a system  user of its own, and runs as it, so no trouble there. Cups also has the option to set users and it uses the system users as default, i think it depends in in how many printers/users your have in your server.Users that can manage cups are in the lp group. 
    For nfs every user should have their home, samba is also a good option if you have  windows computer in your network and it integrates better with graphical file  managers like nautilus in the clients side, but it is a hassle to configure.
    You should run the web server (owncloud ) as it own user, maybe you can manage to set something up for owncloud in the filesystem, but owncloud uses a database, and the users for owncloud are stored in there, and they are not system users.
    You can configure ssh for local use only enabling the corresponding subnets in your /etc/sshd.conf and optionally but recommended you can set a firewall and permissions. You can use iptables but i prefer ufw for simple setup.
    I think you should read the wiki:
    https://wiki.archlinux.org/index.php/users_and_groups
    and the other respective topics in the wiki.
    Also as an advice i know that arch linux is a great distribution, but you have to do more work to mantain a stable server. I would recommend debian or another more conservative distro, but of course it is your choice.
    Last edited by hydrosIII (2014-11-06 06:26:45)

  • Set default Skin and Layout for all users

    Hi all,
    Im using UCM 10GR3 and i must set an default skin and layout for all users.
    Into General Configurations Field > System Variables i set
    LMDefaultSkin=MySkin
    LMDefaultLayout=MyLayout
    But this didnt work. Anybody have a clue?
    My skin is working fine but i have to change via My Profile.
    Best Regards
    Daniel

    only new users.
    According to metalink, each one of these will overwrite existing user settings.
    XuiSearchTemplate=slim
    XuiSearchTemplate=dam
    XuiSearchTemplate=myview
    XuiSearchTemplate=none

  • API to share users and responsibility for a discoverer report

    Hi Everyone,
    Is there any API exists to share users and responsibility for a discoverer report from the database?
    Thanks
    Pramil

    Hi,
    You can use the Discoverer EUL command line for Java interface (EULAPI). This is a java utility then runs on the Apps server so you can use it with a shell script. For example,
    eulapi –connect <connect string> -grant_privilege –workbook_access rodw.myworkbook –apps_responsibility Financials
    See the documentation at http://download.oracle.com/docs/html/B13919_03/ref.htm#sthref120
    Alternatively, you could create your own API that added new records to the EUL5_ACCESS_PRIVS table. However, this is not a supported approach and you need to understand the structure of the EUL tables to do this.
    Rod West

  • SQL Developer and Blocking View of Other Users' Objects

    I am using SQL Developer in a classroom environment. My student users can “see” Other Users objects. They cannot modify, but none the less can see the structure and data.
    I only want the users to be able to see their own objects. Is there a privilege that needs to be revoked? (In using SQL Plus command line, this was not a problem.)
    Thanks.
    -Karen

    Karen,
    From sysdba account (sys/system). Run following and verify for that particular user grant is revoked. May be exit from sql developer and log back in or refresh view.
    YOu can also potenially revoke all the privs from all non admin uses i.e.r even connect/resource roles and grant them back.
    revoke select any table from yourschemaname;
    revoke connect from schemaname;
    revoke create session from  schemaname;
    revoke resource from schemaname;
    Then just grant privs as need basis
    grant connect to schemanme;
    grant resource to schemaname;
    grant create session to schemaname;
    ..Regards
    Edited by: OrionNet on Jan 23, 2009 2:01 PM

Maybe you are looking for

  • Foreign app store codes in local app store?

    Hey guys, I'm from Italy, living on the border to Austria, so for christmas i got an app store giftcard which was bought in Austria. Now i can't use it while living in Italy with an italian iTunes-account. Hope someone has a solution to my problem. T

  • WRT160N v3 range getting worse?

    Hello, I've used this router for about 6 months with no problems, but recently I started experiencing terrible lag playing online with my Xbox, and have since discovered my router's wifi range is not what it used to be.  My router is in a bedroom wit

  • Primary key in detail block

    Dear Experts, I've a master detail form. I detail form there is no primary key. When it is executed the following error displayed : FRM-30100: Block must have at least one primary key item. Block: ASSETS_ISSUE_DTL Form: FORM_ASSETS_ISSUE_DTL What to

  • Progress Bar On Page Process

    Hello I have a page process in APEX that takes a while to finish. When I click a button, I want a progress loading widget to appear. There is a lot of processing that takes place on this page; however, I only want the progress bar to show when a part

  • Load xml to palm

    Has anyone figured out the way to load an xml file to the Palm OS? There is no straight forward way so there will have to be some trickery and skull dugery to do it! A few possible solutions are: 1) Rename the filetype to .txt and load to Palm. Then