http://qs1969.pair.com?node_id=627781


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