From: brew@theMode.com
To: Bruno Wolff III <bruno@wolff.to>
Cc: brew@theMode.com
Cc: pgsql-novice@postgresql.org
Subject: Re: Storing Large Objects
Date: Mon, 18 Apr 2005 20:44:21 -0400 (EDT)
Message-ID: <Pine.BSF.4.58.0504182039330.13453@themode.com> (raw)
In-Reply-To: <20050418152118.GA22606@wolff.to>
References: <70E6659A9338D8418379B4EC0CA5819137928D@erumomw002.eemea.ericsson.se>
<Pine.BSF.4.58.0504180141480.94918@themode.com>
<20050418152118.GA22606@wolff.to>
Bruno....
> Why not put the files somewhere where only the application can get at
> them instead of under the document root. That way they have to
> compromise your application to get at them. No amount of url guessing
> will give direct access.
Great idea. That's what I will do, no need to complicate my life (and
server) by storing the files as large objects in the database. It looks
like php's readfile function will do the job nicely.
Thanks Bruno!
brew
==========================================================================
Strange Brew (brew@theMode.com)
Check out my Stock Option Covered Call website http://www.callpix.com
and my Musician's Online Database Exchange http://www.TheMode.com
==========================================================================
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: brew@theMode.com, bruno@wolff.to, pgsql-novice@postgresql.org
Subject: Re: Storing Large Objects
In-Reply-To: <Pine.BSF.4.58.0504182039330.13453@themode.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox