返回主题:模式语言与复杂关系

知识卡片

普通读书笔记卡 · 1971.o.1.b.1.a.2.a.3.f.1

防火墙隐喻能传意也会带入错误边界

理解等级:高级

原书借用 Ward Cunningham 的防火墙示例:建筑防火墙阻隔邻楼火势的类比,帮助业界及客户快速理解网络防护,也影响产品类别与架构。但软件“墙”可能过度阻断有益交换,对墙内发起的威胁也无法凭这一类比提供保护。

这个例子说明隐喻既能形成共享图景,也会携带现实物件的错误预设。由此可推,设计网络防护时应核对真实威胁与允许的数据流,不能只按防火墙的建筑类比扩展。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 原书第16章|System Metaphor · 查看原书依据

      Yet it is an inexact analogy, and its power cuts both ways. The use of the firewall metaphor has led to development of software barriers that are sometimes insufficiently selective and impede desirable exchanges, while offering no protection against threats originating within the wall. Wireless LANs, for example, are vulnerable. The clarity of the firewall has been a boon, but all metaphors carry baggage.

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第129章《System Metaphor》(源文件:_epub-src/0321125215_ch16lev1sec2.html;单元01) - 结论依据:原文先说明防火墙类比带来的共享理解,再指出选择性不足、内部威胁和无线局域网的限制。 - 原始内容:Yet it is an inexact analogy, and its power cuts both ways. The use of the firewall metaphor has led to development of software barriers that are sometimes insufficiently selective and impede desirable exchanges, while offering no protection against threats originating within the wall. Wireless LANs, for example, are vulnerable. The clarity of the firewall has been a boon, but all metaphors carry baggage.