Stored Procedures vs No Stored Procedures - Security Viewpoint

后端 未结 9 630
时光取名叫无心
时光取名叫无心 2020-12-29 11:26

For a web application database, from a security standpoint only, what are arguments counter to the point for an sp only solution where the app db account ha

9条回答
  •  不思量自难忘°
    2020-12-29 11:44

    From a security point of view only, I can't see any advantages a non-SP approach would have over an SP approach because:

    • you have to grant permissions directly to the underlying tables etc
    • with a sproc, all the real-underlying schema information can be encapsulated/hidden away (SPs can be encrypted too)

提交回复
热议问题