SCEA之路--10. Security

博客强调安全并非100%可靠,需多层面保障且应融入设计。介绍了Java 2技术环境对浏览器中运行的Applet的安全限制,如代码使用、文件读写、网络连接等方面。还阐述了根据架构系统规范确定安全特性实现位置及适用技术,包括认证和授权相关内容。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

General.
• nothing is 100% secure
• only as strong as the weakest link (e2e security requires many layers)
• manageable (a complex system will only serve to confuse admins/users)
• security must be included as part of the design not retro-fitted

Identify Security Restrictions That Java 2 Technology Environments Normally Impose on Applets Running in a Browser
• An applet can utilize only its own code and is not allowed to load libraries or define native methods.
• An applet cannot read or write files on the host that is executing it.
• An applet can make network connections only to the host from which it was downloaded.
• An applet cannot start any program on the local host.
• An applet is restricted from reading the following system properties:
java.home, java.class.path, user.name, user.home, and user.dir.

Given an Architectural System Specification, Identify Appropriate Locations for Implementation of Specified Security Features and Select Suitable Technologies for Implementation of Those Features
• Authentication
    • Authentication method: BASIC, FORM, DIGEST, and CLIENT-CERT
    • Digital certificates, certificate authorities
    • Secure Sockets Layer (SSL)
    • Common Secure Interoperability (CSIv2)
    • Identity selection: <run-as> or <use-caller-identity>
    • Security roles
• Authorization
    • Authorization enforced by the container (declarative), defined in the deployment descriptor
    • Authorization enforced by the component (programmatic), defined within the application code

lkx@lkx-virtual-machine:~/桌面$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" 源: 'deb [arch=amd64] https://download.docker.com/linux/ubuntu noble stable' 描述: Archive for codename: noble components: stable 更多信息:https://download.docker.com/linux/ubuntu 正在添加源。 按 [ENTER] 继续,或按 Ctrl-c 取消。 Adding deb entry to /etc/apt/sources.list.d/archive_uri-https_download_docker_com_linux_ubuntu-noble.list Adding disabled deb-src entry to /etc/apt/sources.list.d/archive_uri-https_download_docker_com_linux_ubuntu-noble.list 忽略:1 https://download.docker.com/linux/ubuntu noble InRelease 命中:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble InRelease 命中:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-updates InRelease 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-backports InRelease 命中:5 http://security.ubuntu.com/ubuntu noble-security InRelease 忽略:1 https://download.docker.com/linux/ubuntu noble InRelease 获取:1 https://download.docker.com/linux/ubuntu noble InRelease [48.8 kB] 获取:6 https://download.docker.com/linux/ubuntu noble/stable amd64 Packages [26.9 kB] 命中:7 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease 已下载 75.7 kB,耗时 10秒 (7,221 B/s) 正在读取软件包列表... 完成 W: https://download.docker.com/linux/ubuntu/dists/noble/InRelease: 密钥存储在过时的 trusted.gpg 密钥环中(/etc/apt/trusted.gpg),请参见 apt-key(8) 的 DEPRECATION 一节以了解详情。 N: 鉴于仓库 'https://download.docker.com/linux/ubuntu noble InRelease' 不支持 'i386' 体系结构,跳过配置文件 'stable/binary-i386/Packages' 的获取。
最新发布
07-02
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值