SQL Server Tutorial: Database security, how to create a database audit specification

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • In this tutorial, Dr. Wolfe demonstrates how to create a database audit specification that monitors select activities on a credit card table in SQL Server. In this tutorial you will learn how to:
    1) Create a server audit
    2) Enable a server audit
    3) Create a database audit specification for the server audit
    4) Test and verify the audit specification is working correctly
    5) Disable the server audit

КОМЕНТАРІ • 10

  • @sohelanwar07
    @sohelanwar07 4 місяці тому +1

    Thank you. It's very easy to get a overall idea, can expand from here to add other candidates or actions

  • @ph0enixr
    @ph0enixr Рік тому +2

    Thanks a bunch, great tutorial!

  • @nnamdieze9851
    @nnamdieze9851 2 роки тому +1

    Very clear and concise. Thank you very much !

  • @tutomazaria
    @tutomazaria Рік тому

    Thank you very much for this video. Looks like you really love scripting over the point-click stuff :)

    • @drToddWolfe
      @drToddWolfe  Рік тому

      It's best to learn scripting first and point and click 2nd :)

  • @ali_work
    @ali_work 3 місяці тому

    Can I tell which user used the select action? Is it possible to get their User ID?

  • @jozefbaca2600
    @jozefbaca2600 29 днів тому +1

    It is not a good idea to keep server audits locally on the server. Anyone having admin access to Windows or sysadmin to SQL, can delete the audit files. Store it in a file share outside of SQL server, where SQL service account only has Read, Folder/Append permission. Modify/Delete and Write must not be allowed. Remove the CREATOR OWNER permission on the folder where audits are to be stored as well. This way you can track down bad activity even done by system administrators.

    • @drToddWolfe
      @drToddWolfe  22 дні тому

      You make a very excellent point here. Thank you for taking the time to point this out for others.