VB 版 (精华区)
发信人: Friend (沙漠绿洲), 信区: VisualBasic
标 题: Avoiding the Top-Ten Design Mistakes(7)
发信站: 哈工大紫丁香 (Thu Jun 24 10:05:27 1999), 转信
发信站: 饮水思源站 (Sun May 30 15:20:40 1999) , 站内信件
7) The design didn't account for that kid in the back room who
used a pair of binoculars to watch the cook open the combination
lock on the pantry. Security is a prime concern where I work and
it should be concern for your designer as well. Since Visual Basic
and all the rest have made client/server data access so simple,
the ability of a well-meaning bungler to get access to the corporate
cookies and stomp all over the data is all too easy-especially when
the User-Id and Password you assign is granted permission to access
the base database tables. By building stored procedures (or server-side
ActiveX objects) to gate access to the data, you prevent the kids
from wandering through the pantry fingering the goodies. This design
also gives you a way to implement business rules on the server and
simplify application design and dissemination. Since the SPs can change
without the applications having to be re-compiled, you can make some
pretty significant changes without having to change a single installed
application.
--
※ 来源:·饮水思源站 bbs.sjtu.edu.cn·[FROM: 202.120.18.28]
--
☆ 来源:.哈工大紫丁香 bbs.hit.edu.cn.[FROM: Friendsp.bbs@bbs.sjt]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:6.308毫秒