<?xml version="1.0" encoding="windows-1252"?>
<node id="1000020" title="Re: Encrypt files on server and then decrypt when user downloads" created="2012-10-19 15:03:21" updated="2012-10-19 15:03:21">
<type id="11">
note</type>
<author id="616540">
moritz</author>
<data>
<field name="doctext">
&lt;p&gt;Simply configure your web server to use SSL. Then the files (and indeed the whole HTTP response) are encrypted on the server, and decrypted automatically on the client side.&lt;/p&gt;

&lt;p&gt;Even better, you don't have to deal with encryption in your own code (which is always a hairy subject to get right), and your users don't have to mess with manually decrypting files. Big win for everybody, I'd say.&lt;/p&gt;

&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-616540"&gt;
[http://perl6.org/|Perl 6 - the future is here, just unevenly distributed]
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1000019</field>
<field name="parent_node">
1000019</field>
</data>
</node>
