Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: Unzip password-protected ZIP file in RAM? Date: Fri, 25 Oct 2013 18:37:36 +0200 Lines: 33 Message-ID: References: <82qk69d1e8ae2j6jf729bn4u28j1ku5tbe@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net rGYQ4yg8N/XN4zRZCkw9DgOU+RattmwbDkwk/b/pCChCD5pWVR Cancel-Lock: sha1:dQ9ZtcOY1gXm9m/pf4ihS0SScuE= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: <82qk69d1e8ae2j6jf729bn4u28j1ku5tbe@4ax.com> Xref: csiph.com comp.lang.php:11585 On 25/10/13 14:51, Gilles wrote: > Hello > > This is a newbie question. > > While travelling, I keep an .htaccess-protected text files with > e-mails/passwords, credit card numbers, etc. > > To make it more secure, I was thinking of compressing the file as a > password-protected ZIP file, and access it through a PHP script that > would unzip it in RAM and display the contents, so that a clear text > version is no longer necessary. > > What do you think? Can PHP do this? zip files not that safe. > It's 5.3.13 running on a hosted *nix server. A shared sercer not that safe to store things on. Would recommend you to think of using TrueCrypt, works on all major operating systems and majority of cellphones. This would be outside the scope of this user group. -- //Aho