简体   繁体   English

您是否需要服务器的客户端脚本才能访问本地存储?

[英]Do you need client-side script for a server to access local storage?

I want my page to use local storage, for users to store customer names to be retrieved later.我希望我的页面使用本地存储,以便用户存储客户姓名以便以后检索。 I need to reassure users that my site (server) will not access the local storage.我需要向用户保证我的站点(服务器)不会访问本地存储。

Do I understand this correctly?我理解正确吗? For the server to access local storage, it has to use a client-side script (eg JavaScript) to get at it.对于服务器访问本地存储,它必须使用客户端脚本(例如 JavaScript)来获取它。 This script would be apparent if the client-side source code was examined (eg using view:source).如果检查了客户端源代码(例如使用 view:source),这个脚本就会很明显。 So the reassurance would be testable.因此,这种保证是可以检验的。 Or can the server access local storage without there being anything visible client-side?或者服务器可以在没有任何可见客户端的情况下访问本地存储吗?

one computer cant access other computer's local storage.一台计算机无法访问其他计算机的本地存储。 Even both computer online sametime.甚至两台电脑同时在线。 there must be serverside script to transfer data each other.必须有服务器端脚本才能相互传输数据。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在SPA客户端行中删除与服务器的持久性存储网格中的同步 - How do you synchronize in an SPA client-side row deletes in a grid with the server's persistent storage 在HTML5客户端存储中,您如何获得密钥的价值? - In HTML5 client-side storage how do you get the value of the key? 如何同步服务器端和客户端代码? - How do you synchronize server-side and client-side code? 您如何判断网页是客户端渲染还是服务器端渲染 - How do you tell if a web page is client-side or server-side rendering 如何仅使用客户端语言从本地文件加载字符串? - How do you load a string from local file only using client-side languages? 如何将数据从客户端表单输入传输到服务器端Nodejs脚本? - How do I transfer data from a client-side form input to a server-side Nodejs script? 您是否需要为客户端应用程序使用Google Maps API的API密钥? - Do you need to use API key for google maps API for client-side applications? 如何使用服务器上的 Node 从客户端 JavaScript 上传到 Google Cloud Storage? - How do I upload to Google Cloud Storage from client-side JavaScript, with Node on the server? 如何使用客户端JavaScript从服务器访问HTTP响应? - How can you access the HTTP response from a server using client-side JavaScript? 如何使客户端脚本在ASP.NET回发上执行? (来自UpdatePanel) - How do you get client-side script to execute on an ASP.NET postback? (from an UpdatePanel)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM