in reply to where store data with PERL/cgi?

Basically anywhere but in the document tree (where it could be accessed by someone guessing the filename). I tend to use /web as the root (documents are in /web/infptree) and to store the data in /web/data.

Replies are listed 'Best First'.
Re: Re: where store data with PERL/cgi?
by cLive ;-) (Prior) on May 26, 2002 at 10:18 UTC
    hmmm,

    If /web is your document root, wouldn't it be better to store the data outside the public realm?, ie /infptree instead?

    Obviously it may not matter for your specific case, but generally I think it's a better idea...

    .02

    cLive ;-)

    --
    seek(JOB,$$LA,0);