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. SQL Database Security

SQL Database Security

Scheduled Pinned Locked Moved Database
databasesql-serversysadminsecuritytutorial
3 Posts 3 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.
  • Z Offline
    Z Offline
    Zeyad Jalil
    wrote on last edited by
    #1

    HI ALL, Is it possible to secure sql database using user name password, not the mixed mode user name password, (user name password ) on database it self to prevent it when restore on other sql engine(instance). the second questions is how to hide columns on sql server database engines, when open the database can't see the tables and columns until i enter the database user name password Thanks all

    L M 2 Replies Last reply
    0
    • Z Zeyad Jalil

      HI ALL, Is it possible to secure sql database using user name password, not the mixed mode user name password, (user name password ) on database it self to prevent it when restore on other sql engine(instance). the second questions is how to hide columns on sql server database engines, when open the database can't see the tables and columns until i enter the database user name password Thanks all

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

      zead wrote:

      Is it possible to secure sql database using user name password, not the mixed mode user name password, (user name password ) on database it self to prevent it when restore on other sql engine(instance).

      Yes; put them in a password-protected zipfile. There's no password required for a backup or the database-file.

      zead wrote:

      the second questions is how to hide columns on sql server database engines, when open the database can't see the tables and columns until i enter the database user name password

      Limit the users' rights. There's no way to keep the DBA of the server "out".

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      1 Reply Last reply
      0
      • Z Zeyad Jalil

        HI ALL, Is it possible to secure sql database using user name password, not the mixed mode user name password, (user name password ) on database it self to prevent it when restore on other sql engine(instance). the second questions is how to hide columns on sql server database engines, when open the database can't see the tables and columns until i enter the database user name password Thanks all

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

        You can encrypt the database and that mat protect your data across a restore, I have never had to do this so I do not have a definitive answer! Hiding columns in a table view is not possible (I think) but you can create views exposing the columns you want to display for each group of users. Then only give permission for the user to the views and not any other objects.

        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