- 1、本文档共26页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
- 8B unit3 基础知识同步训练10分钟.ppt
- 8AUnit 2 Integrated skills1.ppt
- 8BU6 Sunshine for all Grammar.ppt
- 7bUnit_3_Welcome_to_Sunshine_Town.ppt
- 8Aunit1形容词级别.ppt
- 8B Unit6 Reading1(2012.9).ppt
- 9A Unit5导学案5-8课时 导学案.doc
- @@@Chapter_4_syntax.ppt
- A Survey of Major English Speaking Countries 14.ppt
- 8 Howthorne.ppt
- 劳动关系管理.pptx
- 老年安全用药作用于消化系统药物.pptx
- 第30课新时代中国特色社会主义的伟大成就——高一历史人教统编版中外历史纲要上册课时优化训练(含解析)).docx
- 辽宁省铁岭市西丰县第二高级中学2024-2025学年高二上学期第一次考试语文试题(无答案).docx
- 第12课 从明朝建立到清军入关——高一历史人教统编版中外历史纲要上册课时优化训练(含解析).docx
- 第1课 中国古代政治制度的形成与发展——2024-2025学年高二历史人教统编版选择性必修1随堂测试(含解析).docx
- 2025届高三英语复习-阅读理解七选五(答案).docx
- 第16课国家出路的探索和列强侵略的加剧——高一历史人教统编版中外历史纲要上册课时优化训练(含解析).docx
- 福建省福州屏东中学2024-2025学年高三上学期10月适应性练习英语试题(含答案).docx
- 第19课北洋军阀统治时期的政治、经济与文化——高一历史人教统编版中外历史纲要上册课时优化训练(含解析)).docx
文档评论(0)