Re:Amazon Starts Email Service for Companies
by boomzilla on Wednesday January 28, 2015 @03:39PM
(#8962420)
The actual content is encrypted, but one can still build an index that points to individual email IDs and score the search results properly. Only when returning the top N results that one needs to decrypt those N emails with the right keys. The index would be kept in the server. Of course, the devil is in the details and things like email threading, order by by date or group by senders will make or break the user experience.
Re:Amazon Starts Email Service for Companies
by mseebach on Wednesday January 28, 2015 @04:12PM
(#8962569)
A full text index that's actually useful will allow you to largely piece back together the original content, modulo stemming and stopwords.
I guess it would be something like encrypting the index, then decrypt it on demand, just like you would decrypt individual messages on demand.
Re:Amazon Starts Email Service for Companies
by swehner on Wednesday January 28, 2015 @07:37PM
(#8963604)
Not if the index values are encrypted (public-key) too.
hashed-word => encrypted-list-of-msg-indices
something like that.
EDIT:
That is, assuming the mail is stored on the server and it's encrypted, how do you search it efficiently?
It does not seem efficient to download every byte of mail, decrypt it, and search it on your local machine (especially a phone). Perhaps you could build an index locally, but could you keep it updated? And even that requires downloading and reading every byte at least once.
This is something I've always wondered about encrypting hosted email.