UI(相对于小部件工具包类型的事物)何时需要知道屏幕尺寸?
在安全的操作系统中,我们不想告诉应用程序任何事情,除非它们绝对必须知道。假设您通过运行独立的 Web 浏览器实例,以两个不同的身份通过匿名网络浏览网站。 Web 浏览器实例可以传输您的屏幕尺寸,然后对手可以看到您的两个身份使用相同的屏幕尺寸,并更准确地猜测他们是同一个人。屏幕尺寸揭示了身份或缩小了范围。
有哪些用例可以解释为什么 UI/网页(而不是底层技术)需要您的屏幕尺寸?为什么不对所有事物都使用抽象维度呢?或者使用不允许您触摸尺寸的布局小部件。这些技术有哪些局限性?
In a secure OS, we'd like to not tell applications anything unless they absolutely must know. Say you browse a website through an anonymity network as two different identities by running separate isolated instances of the web browser. The web browser instances can transmit your screen size, and then an adversary could see that both of your identities use the same screen size and make a more accurate guess that they are the same person. Screen size reveals identity or narrows it down.
What are some use cases of why a UI/web page (as opposed to the underlying technology) needs your screen size? Why not just use abstract dimensions for everything? Or use layout widgets that don't let you even touch dimensions. What are the limitations of these techniques?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论