Results 1 to 5 of 5

Thread: User Define Roles and cross database queries

  1. #1
    Join Date
    Feb 2003
    Location
    Barrie, On, Canada
    Posts
    29

    User Define Roles and cross database queries

    We maintain a few applications that query multiple databases on our server. We also have groups of users that multitask using different applications.

    I've always created a Role in each database for every application.

    Wondering if someone is in two Roles at once will we have security conflicts?

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    Privileges are used on per connection basis, if two different applications are using different roles the privileges granted will not be combined.

    You should not have any problems.

  3. #3
    Join Date
    Sep 2002
    Posts
    5,938
    If user belongs two roles, the user has permissions defined in both roles as long as there is no specific deny access.

  4. #4
    Join Date
    Feb 2003
    Location
    Barrie, On, Canada
    Posts
    29
    Thank you!

  5. #5
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    I assumed two applications are using two different login accounts. So privileges used by two applications are independent of each other. You can run multiple instances of each application without any conflict.

    As rmiao said, there should be no problem unless you have a Deny privilege.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •