About the service Dropbox, probably written a few thousand different articles, he appreciated the convenience of millions of users, the project is developing incredibly fast speed. What kind of service and how it has helped us in our work?.
Dropboks. - Is so smart ftp or file sharing with the ability to multi- sync. If you had to coordinate the work of remote employees, we used a regular FTP, and a special program to synchronize a local folder, but now it's all we replaced the dropbox. 8 users have installed it on their computers and now we have a truly shared files on all 8 machines, no matter whether someone has a computer or not - all files are stored in so-called cloud ( Internet) and update it directly to the .
Is the world a great online service called. DropBox. ,. which is a cloud file storage that is designed to store files on the Internet and synchronize them between different devices. After installing special software ( available for all popular operating systems) on your hard drive appears under the name Daddy. ... Dropbox. ... (name and location can be changed ). When you copy a file into this daddy are simultaneously transmitted over the Internet to a special server. You can then access this daddy and from other computers. Moreover, among all connected devices ( desktop, laptop, mobile phone, etc. Dr.. ) Is an automatic synchronization zation data.
That is, for example, you worked at home for your laptop, your work saved on your computer. Let's go to the office, sat down for a working computer, and continued their work. Without copying the data to the flash drive, manual transmission on the network and t. Dr.. Everything happens on full automatic, you do nothing thinking! .
The advantages of this approach are clear storage. 
Is the world a great online service called. DropBox.
Now a few words about the benefits of service. DropBox. When suddenly someone with them are not familiar:.
It is possible to access files through a special cross-platform software, and web-based.
In the history of changes is recorded only difference between one version of a file from another, as a result - less traffic, because the entire file is not injected, but only part of the amended.
There is a possibility of manipulation of files, including rollback to earlier versions ( changes are saved in the last 30 days).
There is a possibility rassharivaniya files for these users (folder «Public»).
You can receive regular http- links to files stored in the folder «Public», that is, to use the service as a classical fayloobmennika.
Free use of the service for data storage up to 2GB (possibly an increase in free up to 8 GB or paid to 50-100 GB).
And that's not all. Join. And you will certainly appreciate the benefits of service.
But what about the safety of such storage? . DropBox. assure that all data is stored on the server in encrypted form. Only here at what point is it's encrypted - it is not clear. Among other things, this service is very interesting from the standpoint of storing passwords, profiles of the various programs and other confidential data, which is very convenient to access from different devices, and which at the same time requires special security measures. How do vostpolzovatsya advantage. DropBox. And at the same time, do not worry about the safety of confidential information?.
The solution is - to encrypt the data yourself, send them to the server is encrypted.
But how to completely automate this process? .
This will help us to cryptographic file system EncFS, which allows you to encrypt data on the fly and encrypts each file separately. In this article the example of Ubuntu Linux will learn how to make sure that the files appear in a specific folder on your computer, automatically poured in an encrypted format in a folder «Dropbox». That is, you work with regular files, they are without your participation in an encrypted form filled in on the Dropbox server. After connecting to the server from another computer (on which the folder structure is organized in the same way ) is downloading encrypted files and their subsequent interpretation.
As I said, all the manipulations in the example below, I will make to the Linux Mint, Ubuntu Linux but these same actions can be made on the Mac OS and Windows.
Since you probably do not want to encrypt all data completely (at least worth keeping an unencrypted daddy «Public»), then we will not encrypt the entire folder «Dropbox» whole, but only one folder inside it. So, we start.
01. first thing. install DropBox. If you have not already done.
02. Now install the necessary packages for future work:.
sudo apt-get install encfs libpam-mount.
Add your user to the group «fuse» ( in the following command, replace «username» in the name of the user):.
sudo adduser urusername fuse.
Perelogintes in again to the above changes to take effect.
03. Now, create two folders:.
mkdir ~ / Unencrypted.
mkdir ~ / Dropbox / Encrypted.
The first of these folders used to store files in an unencrypted form, the second - to store encrypted files. The names and folder locations may change at its discretion, but do not forget to do the same in subsequent commands. Naturally, the folder for encrypted files should be inside the folder «Dropbox».
04. Run the console the following command (replace «username» in the name of the user):.
encfs / home / username / Dropbox / Encrypted / home / username / Unencrypted.
The program will ask you questions to be answered as follows:.
Enter the «x» to select an expert.
Enter ...
Enter ...
Enter ...
Enter ...
Enter the «y» option «Enable filename initialization vector chaining?».
Enter the «n» for the option «Enable per-file initialization vectors?».
Enter the «n» for the option «Enable block authentication code headers on every block in a file?».
Enter the «y» option «Enable file-hole pass-through?».
Enter the password and repeat it again. In order for the next step in this guide how to earn, it is desirable to introduce here the same password you use to log into the system.
Now, when you copy files to a folder «/ home / username / Unencrypted» the same files will appear in the folder «/ home / username / Dropbox / Encrypted» encrypted. We're almost done, was the final touch.
05. Let's make our encrypted file system is automatically mounted at startup. To do this, open for editing the following file:.
sudo gedit / etc / security / pam_mount. conf. xml.
Find in this file the following line:.
Directly below it, insert another line (replace «username» in the name of the user):.
Everything is now about anything without thinking you can work with files in the folder «/ home / username / Unencrypted» - they are automatically encrypted and placed in the folder «/ home / username / Dropbox / Encrypted», then in an encrypted form sent to the server. DropBox. After rebooting our encrypted filesystem will be mounted automatically. The result is achieved!.
Moreover, we have extra protection in case of loss of a laptop. 
An attacker who stole the laptop, but does not know the username and password to log into the system will not have access to the decrypted file, since the decoding only happens after the computer and the login and password.
Update. Discovered the pitfalls. (with the identification of new 'll add them here ):.
One of the computers I have all refused to boot after the above changes in the file «pam_mount. conf. xml ».
Since it is on this computer I am quite happy with manual mount, the logs are not digging, searching for reasons not.
If you change the unencrypted files on the server Dropbox fills only part of files. But in the case of encryption ( if I understand correctly ) is changing the entire file, so the traffic is likely to be more.
When the computer shuts down some files may stay in the mounted folders (if they are changed at the moment of shutdown, after unmount the decrypted folder). As a result - after the boot file system is mounted, we get the error: «fuse: mountpoint is not empty». Treated by emptying the folder.
In the folder with the encrypted file is a file ... encfs6. xml », which contains metadata about the encrypted file system ( by the way, do not try to delete this file). So, when you synchronize multiple computers, this file should be copied to all machines from the first computer on which the encryption is performed. This file can be marked as disputed and replaced by another with which the system then fails to work. Treated by reverse renaming the old ( very first ) File.
Use synchronization via Dropbox ( in encrypted form or not) for frequently modified files are not worth it, especially when so many of these files, or Dropbox will keep busy with useless work.
Sometimes the folder from the decrypted directory are not removed ( lochatsya ). Remove them is obtained only after identification and removal of the corresponding encrypted directory.
I looked I wrote a list of ... In reality, the approach works well, but described difficulties or uncritical, or occur very rarely.
What I would like to add? . That is, any folder can be assigned to a specific condition and response to this condition. For example, once appeared in your graphic file - it will automatically create a smaller copy of a width not exceeding 150 pixels. That such a possibility would not stir, and. dropboksu.
Комментариев нет:
Отправить комментарий