简体   繁体   English

Java API-云服务

[英]Java API - Cloud Service

I hope many people already know about the Dropbox Cloud Service for storing and syncing files across various clients. 我希望许多人已经了解Dropbox Cloud Service,该服务用于在各种客户端之间存储和同步文件。 I am little hesitant using a third party service to store my personal files. 我毫不犹豫地使用第三方服务来存储我的个人文件。

I am trying to build a personal cloud storage using my 2TB Hard Drive. 我正在尝试使用2TB硬盘构建个人云存储。 I guess I am looking for pointers on where to start, which APIs to use [preferably JAVA and J2EE], security, risks? 我想我正在寻找关于从哪里开始的指针,使用哪些API(最好是JAVA和J2EE),安全性,风险?

First, I would highly recommend getting over your paranoia; 首先,我强烈建议您克服妄想症; chances are extremely slim that Dropbox employees are going to spend their lunch hour looking at your photos or whatever. Dropbox员工花费午餐时间看您的照片或其他东西的机会极少。 Literally millions of people store their stuff on Dropbox and nobody's had their privacy violated. 从字面上看,数以百万计的人将自己的东西存储在Dropbox上,没有人侵犯其隐私。

That said, Dropbox is based on Amazon S3, which (since I assume you trust Amazon just as much as you trust Dropbox) has an open source clone that you can run yourself. 就是说,Dropbox基于Amazon S3,(因为我假设您对Amazon的信任程度与对Dropbox的信任程度相同)具有可以自己运行的开源克隆。 Take a look at Eucalyptus . 看看桉树 Since you specifically brought up Java, I'll point out that the excellent AWS SDK for Java works just as well on Eucalyptus' S3 stores as on Amazon's. 自从您专门提出Java以来​​,我会指出,出色的Java Java AWS开发工具包在Eucalyptus的S3商店中的运行效果与在Amazon的商店一样出色。

How is it Cloud storage if it's on your 2TB hard drive? 如果2TB硬盘上有云存储,该如何存储? Why do you think your own service will be more secure when accessible through the internet then a service run by people who specialized in doing it. 为什么您认为自己的服务通过互联网访问比由专门从事此服务的人员运行的服务会更安全。 I guess Amazon has probably more experience than anybody else in terms of HTTP accessible file storage (S3). 我想亚马逊在HTTP可访问文件存储(S3)方面可能比其他任何人都更有经验。

If you want to make sure nobody can look at your stuff I suggest you look into encrypting it before saving it into S3. 如果要确保没有人可以查看您的内容,建议您在将其保存到S3之前先对其进行加密。 That would make it harder to access on the client side, because you always need the right tools to do the encryption stuff but that is the price you'd have to pay. 这将使在客户端访问变得更加困难,因为您始终需要正确的工具来执行加密工作,但这就是您必须付出的代价。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM