Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • At no time should the files exist on disk (security reasons, very sensitive data).

    What about using an encrypted filesystem? Or "plain" encrypted files for every step?

    --
    mirod
    • What about using an encrypted filesystem?

      I don't have that level of control over the system. One trick I can use, and is being used elsewhere in the code, is unlinked temp files (open a temp file and unlink it). The file is on disk but no other process can see or read it except my open filehandle. Once my filehandle goes away the file goes away (yes, it might hang around on the disk for a while before its wiped. This is ok.). It won't get backed up.

      But this involves each extraction step to read the f

  • Surely you can make it work using tied filehandles. It won't be dead easy, it won't be the fastest, but at least you can make it behave like filehandles.

    Another option would be to make the readers separate processes, which print the virtual file contents through their STDOUT, which you can then pipe back into your program.
    • Surely you can make it work using tied filehandles. It won't be dead easy, it won't be the fastest, but at least you can make it behave like filehandles.
      BLALHRARHALHBLAHGH!

      I just figured it out. See edited post.