[guardian-dev] Adding IOCipher to Orweb
Hans-Christoph Steiner
hans at guardianproject.info
Mon Jun 10 15:38:04 EDT 2013
On 02/08/2013 09:33 AM, Mark Murphy wrote:
> On Fri, Feb 8, 2013 at 6:09 AM, Nathan of Guardian
> <nathan at guardianproject.info> wrote:
>> At some point though, you will want to open the file from the Orweb secure
>> download storage, and view it in another app. I am not quite sure how to
>> handle that yet, other than building in custom viewers directly into Orweb.
>>
>> Thoughts?
>
> Use a ContentProvider:
>
> https://lists.mayfirst.org/pipermail/guardian-dev/2013-February/001279.html
> http://stackoverflow.com/a/14734310/115145
>
> If you run into IOCipher-specific issues with this technique, we can
> probably cook up a fix.
>
> You'll probably want to use path permissions to provide limited read
> access, so the ContentProvider cannot be used to read arbitrary stuff.
> I don't have a sample of that at present, though I'll try to work on
> one today (modulo one blizzard).
Did you ever have any luck putting together this example? I hope to be digging
into this stuff again soon.
.hc
More information about the Guardian-dev
mailing list