Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Adding a bit of security to Cache::FileCache

by whereiskurt (Friar)
on Jul 20, 2007 at 13:07 UTC ( #627781=note: print w/replies, xml ) Need Help??


in reply to Re: Adding a bit of security to Cache::FileCache
in thread Adding a bit of security to Cache::FileCache

Nitrox:

I'm liking this thread, and it was interesting to hear why you are using File::Cache. Just a couple of things:

  1. Create a group for your 'short running scripts' and long running daemon to be a part of (this is probably possible in Win32 :).) Have the File::Cache write it's hierarchy to a place where only people in the group can read/write.
  2. Use a key, and encrypt the cache values. If you don't care if people can read through your keys, then this can add a smidge of integrity. That is, agree on a 'password' for all data being written to the key and then use an symmetric Crypt:: module.

Hope that's helpful...Good luck!

By the way, did you notice that on the File::Cache actually recomends using Cache::Cache instead? Hm...

Kurt

  • Comment on Re^2: Adding a bit of security to Cache::FileCache

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://627781]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2023-12-03 18:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (20 votes). Check out past polls.

    Notices?