Creating an Audit Trail of Ad Hoc SQL.ppt.ppt

  1. 1、本文档共26页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Creating an Audit Trail of Ad Hoc SQL.ppt

Creating an Audit Trail of Ad Hoc SQL Andrew Novick Agenda Introduction Why audit ad hoc SQL Managing Identity with the DataPortal Getting Dependency Information Storing change information Querying the change database. Why Audit Ad Hoc SQL Regulatory Compliance Sarbaines Oxley HIPPA GAPP – Accountant Requirements History of Changes When did I make that change? Who made that change? CYA Requirements Record ad hoc database changes to production Record all schema changes. See old and new values for each modified field Administrator control of who can change what No impact on the target databases Use Cases Modify production data by changing a grid Modify production data with a script Make schema changes to a database. Search: What changes have been made Who made the changes Manage Security for the SQLManager Use Case: Modify with a Script Execute SQL that the user doesn’t have permission to execute. Check for Valid SQL Figure out what gets changed Decide if the user has permission Execute the change, store details How does a program execute SQL that the user doesn’t have authority to execute? Answers? Permission chaining Application role Identity switch in IIS via identity DataPortal Architecture DataPortal Architecture Uses CSLA Component-based Scalable Logical Architecture Often used for building Business Objects See Rocky Lhotka’s books: Visual Basic Business Objects C# Business Objects Identity Switch Web.config identity section Identity Switch: More Secure Use ASPNet_SETREG Encrypts the UserName and Password and stores them in the registry Is it Valid SQL? What gets changed? sp_depends Begin Tran Create Proc XXX with the SQL Statement as the body EXEC sp_depends ‘XXX’ Rollback Tran Checking Permissions Security Database CSLA Generated Classes Use Case: Change with Grid Get data for the user to change Post the changes Record the details of what is changed Logging Changes Log4Net Open Source logging/tracing framework /log4net Write to multiple outputs

文档评论(0)

l215322 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档