开发 Java Applet 以限制对特定目录树的访问
我正在创建一个基于 Java 的小程序,以保护文件系统目录(此处的目录代表文件夹)树被直接访问。因此,该用户只有通过小程序访问这些文件才能使用这些文件。为此,我认为要实施 X.500 以及用户的配置文件并使用 X。 509 证书来检查他们的凭据。但我无法想象如何通过 Java applet 提供所有这些。 任何帮助将不胜感激
I am creating a Java based applet to secure a file system directory(Directory here stands for the folders) tree from being accessed directly. So that user can only use the files if he accesses them through the applet. For this I think to implement X.500 along with profiles of the user and using X.509 certificates to check their credentials. But I am not able to think how to make all this available through Java applet.
Any help will be apreciated
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为什么?您没有说明您正在使用哪种 LDAP 实现,但 OpenLDAP 肯定可以根据用户身份自动执行此操作。您不需要为此编写一个小程序,或者至少如果您所做的只是为其提供一个比用户通常有权访问的权限更高的用户 ID 来登录。
Why? You don't say which LDAP implementation you are using, but certainly OpenLDAP can do that automatically based on the user identity. You don't need to write an applet for that, or at least if you do all you need is to give it a more privileged userID to log in with than users generally get access to.