Encrypt private files

Registered by Prunus dulcis

Do not only encrypt the String fields of files marked as private but encrypt the files themselves on the harddrive which are copied into the data-directory as well. Would probably help to have a max-size of files to copy into the database.

Blueprint information

Status:
Complete
Approver:
None
Priority:
High
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon beta1
Started by
Prunus dulcis
Completed by
Prunus dulcis

Sprints

Whiteboard

Problematic may be, that unlike database objects, files themselves are not yet revisioned. This probably could be countered adding revision numbers to the filename, so they can be uniquely identified to know if they need decryption or not.

Okay, changed file organisation to revision system (except for preview icons, which use plain uuid).

- EncryptDecrypt class now provides methods for encrypting/decrypting byte streams
- FileOperations class now encrypts files, if they are marked private and stores the encrypted filestreams
- FileOperations class now has getFileAsByte method, to transform files into byte stream - used for encrypting / decrypting them

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.