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. User Access Database - Best practise

User Access Database - Best practise

Scheduled Pinned Locked Moved Database
databasequestionsql-serversysadminhelp
11 Posts 3 Posters 29 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.
  • S Simon_Whale

    I am trying to document a system that I have taken over it is a single website with 3 database connections. The access to the database is via a single SQL Server login and it has the minimal access that is required for the site. My question is; each database has the same logon should they have different logon names for the database? Thanks Simon

    Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON

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

    My door key fits in the front door and in the back door; it may not be as safe as two keys, but it is convenient. OTOH, there's little of value here, so the risc of something happening is low.

    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

    J S 2 Replies Last reply
    0
    • S Simon_Whale

      I am trying to document a system that I have taken over it is a single website with 3 database connections. The access to the database is via a single SQL Server login and it has the minimal access that is required for the site. My question is; each database has the same logon should they have different logon names for the database? Thanks Simon

      Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON

      J Offline
      J Offline
      Jorgen Andersson
      wrote on last edited by
      #3

      Why does it matter?

      Wrong is evil and must be defeated. - Jeff Ello

      S 1 Reply Last reply
      0
      • L Lost User

        My door key fits in the front door and in the back door; it may not be as safe as two keys, but it is convenient. OTOH, there's little of value here, so the risc of something happening is low.

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

        J Offline
        J Offline
        Jorgen Andersson
        wrote on last edited by
        #4

        Why would two keys be safer? You only need to break into one door to access the house.

        Wrong is evil and must be defeated. - Jeff Ello

        L 1 Reply Last reply
        0
        • J Jorgen Andersson

          Why would two keys be safer? You only need to break into one door to access the house.

          Wrong is evil and must be defeated. - Jeff Ello

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

          That's because my example is not perfect; if it were two houses it would be more in line with the multiple databases. I do not buy locks based on best practices, but rather on the risc versus the damage.

          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

          J 1 Reply Last reply
          0
          • L Lost User

            That's because my example is not perfect; if it were two houses it would be more in line with the multiple databases. I do not buy locks based on best practices, but rather on the risc versus the damage.

            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

            J Offline
            J Offline
            Jorgen Andersson
            wrote on last edited by
            #6

            Agreed

            Wrong is evil and must be defeated. - Jeff Ello

            1 Reply Last reply
            0
            • J Jorgen Andersson

              Why does it matter?

              Wrong is evil and must be defeated. - Jeff Ello

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

              Wasn't sure if it was a problem so thought I'd ask a question. Looks like from yours and Eddys response that there is not really risk with it so I am not going to change it.

              Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON

              J 1 Reply Last reply
              0
              • L Lost User

                My door key fits in the front door and in the back door; it may not be as safe as two keys, but it is convenient. OTOH, there's little of value here, so the risc of something happening is low.

                Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                S Offline
                S Offline
                Simon_Whale
                wrote on last edited by
                #8

                Thank Eddy your analogy made sense :thumbsup:

                Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON

                L 1 Reply Last reply
                0
                • S Simon_Whale

                  Wasn't sure if it was a problem so thought I'd ask a question. Looks like from yours and Eddys response that there is not really risk with it so I am not going to change it.

                  Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON

                  J Offline
                  J Offline
                  Jorgen Andersson
                  wrote on last edited by
                  #9

                  If you plan to split the databases in the future there might be a point to it. Or if you want to give different people different access, but there are easier ways to achieve that.

                  Wrong is evil and must be defeated. - Jeff Ello

                  S 1 Reply Last reply
                  0
                  • J Jorgen Andersson

                    If you plan to split the databases in the future there might be a point to it. Or if you want to give different people different access, but there are easier ways to achieve that.

                    Wrong is evil and must be defeated. - Jeff Ello

                    S Offline
                    S Offline
                    Simon_Whale
                    wrote on last edited by
                    #10

                    No the databases are already split into 3 Users Data Log I was asked if there was merit to different logons for the website to the databases (via services) but couldn't find a suitable answer so thought I'd ask her as someone may know of a good practise or had experience.

                    Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON

                    1 Reply Last reply
                    0
                    • S Simon_Whale

                      Thank Eddy your analogy made sense :thumbsup:

                      Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON

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

                      You're welcome :)

                      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                      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