首页> 外文期刊>WEB techniques >Building a Server Switchboard
【24h】

Building a Server Switchboard

机译:建立服务器总机

获取原文
获取原文并翻译 | 示例
       

摘要

One reason that Java is so popular on the Web is security. Because applets run in the context of the browser, the browser can strictly control what the applet can and can't do. This is a benefit for users, but for developers, it's somewhat restrictive. Of course, you can digitally sign your applets and hope that users will elect to relax security restrictions against them, but this isn't an ideal solution. The best answer is to find a way to work within the existing security structure. For example, suppose you want to write an applet that needs to store data. You have very few choices. You can't write to a file on the client computer. However, you can open a network connection back to the server and write the file on the server. This requires a program on the server that listens for the applet and handles its requests.
机译:Java在Web上如此流行的原因之一是安全性。由于小程序在浏览器的上下文中运行,因此浏览器可以严格控制小程序可以做什么和不能做什么。这对用户是有好处的,但是对开发人员来说,这是有一定限制的。当然,您可以对小程序进行数字签名,并希望用户选择放宽对其的安全限制,但这不是理想的解决方案。最好的答案是找到一种在现有安全结构内工作的方法。例如,假设您要编写一个需要存储数据的小程序。您几乎没有选择。您无法在客户端计算机上写入文件。但是,您可以打开与服务器的网络连接,并将文件写入服务器。这需要服务器上的程序来侦听小程序并处理其请求。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号