Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. stop accessing peoples SQL server through SQL management Studio.

stop accessing peoples SQL server through SQL management Studio.

Scheduled Pinned Locked Moved Database
databasesql-serversysadmin
9 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Azam Niaz Ch
    wrote on last edited by
    #1

    i want to stop some peoples in my organization to access SQL server through SQL managment Studio.

    P M G 3 Replies Last reply
    0
    • A Azam Niaz Ch

      i want to stop some peoples in my organization to access SQL server through SQL managment Studio.

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      You can't. You can't know how they're accessing it and it shouldn't matter anyway; either they have access or they don't.

      A 1 Reply Last reply
      0
      • P PIEBALDconsult

        You can't. You can't know how they're accessing it and it shouldn't matter anyway; either they have access or they don't.

        A Offline
        A Offline
        Azam Niaz Ch
        wrote on last edited by
        #3

        How can you say this ? i know they are accessing through SQL management studio.what you think if we can change the port or any other method ?

        P 1 Reply Last reply
        0
        • A Azam Niaz Ch

          How can you say this ? i know they are accessing through SQL management studio.what you think if we can change the port or any other method ?

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          Azam Niaz Ch. wrote:

          i know they are accessing through SQL management studio

          How?

          S 1 Reply Last reply
          0
          • A Azam Niaz Ch

            i want to stop some peoples in my organization to access SQL server through SQL managment Studio.

            M Offline
            M Offline
            Mycroft Holmes
            wrote on last edited by
            #5

            Forget the client tool, SSMS is just a UI and can be replaced by a number of tools. You need to control access to your database/servers using the standard security setting built into the database and server applications. Assuming you are system admin for the database you can start setting login requirements, creating schemas and other standard practices.

            Never underestimate the power of human stupidity RAH

            1 Reply Last reply
            0
            • A Azam Niaz Ch

              i want to stop some peoples in my organization to access SQL server through SQL managment Studio.

              G Offline
              G Offline
              GuyThiebaut
              wrote on last edited by
              #6

              The quickish and simple way: (1) remove SSMS from their computers (2) restrict access to the server so that they can only access views and cannot perform any updates, inserts or deletes or do anything else for that matter - views only, that's a simple way of providing more security. Notes: given (2), (1) is not strictly necessary, however the only people using SSMS should be the DBAs so it is probably best to get people out of the habit of having access to it(I know... if people download Toad they will have similar features available).

              “That which can be asserted without evidence, can be dismissed without evidence.”

              ― Christopher Hitchens

              M 1 Reply Last reply
              0
              • P PIEBALDconsult

                Azam Niaz Ch. wrote:

                i know they are accessing through SQL management studio

                How?

                S Offline
                S Offline
                scottgp
                wrote on last edited by
                #7

                Just FYI, it looks like the Management Studio executable identifies itself as something similar to "Microsoft SQL Server Management Studio" or "Microsoft SQL Server Management Studio - Query" when it connects to SQL Server. This shows up in the program_name column of the dynamic management view sys.dm_exec_sessions. Scott

                L 1 Reply Last reply
                0
                • S scottgp

                  Just FYI, it looks like the Management Studio executable identifies itself as something similar to "Microsoft SQL Server Management Studio" or "Microsoft SQL Server Management Studio - Query" when it connects to SQL Server. This shows up in the program_name column of the dynamic management view sys.dm_exec_sessions. Scott

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  Which means nearly nothing; you can set the applications' name in the connectionstring. It would not be hard to create a console-app to have me execute SQL with the same or no name at all. If someone has access, he has access. Disabling the tool he/she uses simply means changing tool to achieve the same.

                  Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                  1 Reply Last reply
                  0
                  • G GuyThiebaut

                    The quickish and simple way: (1) remove SSMS from their computers (2) restrict access to the server so that they can only access views and cannot perform any updates, inserts or deletes or do anything else for that matter - views only, that's a simple way of providing more security. Notes: given (2), (1) is not strictly necessary, however the only people using SSMS should be the DBAs so it is probably best to get people out of the habit of having access to it(I know... if people download Toad they will have similar features available).

                    “That which can be asserted without evidence, can be dismissed without evidence.”

                    ― Christopher Hitchens

                    M Offline
                    M Offline
                    Mycroft Holmes
                    wrote on last edited by
                    #9

                    GuyThiebaut wrote:

                    the only people using SSMS should be the DBAs

                    NNnnnnnnooooo, don't make the developers use VS for Ghus sake. We have a bunch of DBA's who are so divorced from the developers I have never even met one. They only look after production and accept scripts from us for changes.

                    Never underestimate the power of human stupidity RAH

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups