I'm using
Cache::FileCache in a current project, this snippet is a quick example of setting a variable:
use strict;
use Cache::FileCache;
my $cache = new Cache::FileCache({ 'namespace' => 'SharedCache'} );
$cache->set("STUFF", "1");
I have one application that writes to the Cache and another reads from it. My concern is, how can I add a dash of security? Currently all someone would have to do is run a similar snippet on the same box and they could overwrite any of the info.
I'd like to hear your ideas on how to tighten this up a smidgen.
-Nitrox