如果希望组件提供新的主要用途,请考虑这是否会创建新的信任边界和带来在组件外进行额外有效性检查的需求。
If a new primary use is anticipated for a component, consider whether this creates a new trust boundary and a need for additional validity checking outside the component.
但是服务器仍然要进行自己的有效性检查。
However, servers should still verify validity for themselves.
通过考虑组件在应用程序结构内的主要使用情况,可以更为恰当地确定数据有效性检查的位置——例如,仅在受管理的信任边界进行检查。
Considering the primary USES of components within application structures leads to more appropriate placement of data validity checking — for example, only at managed trust boundaries.
应用推荐