P5-file-policy

Jul 20, 2023

Simple policy for file I/O functions

This defines the policy for file I/O with modules such as FileSlurpWithinPolicy. The purpose is to allow systems administrators to define locations and restrictions for applications’ file I/O and give app developers a policy to follow. Note that the module doesn’t ENFORCE the policy - application developers can choose to ignore it and systems administrators can choose not to install their applications if they do!.

You may control which policy gets applied by creating a FilePolicyConfig module with an IMPLEMENTATION constant. You may write your own policy as a module within the FilePolicy namespace.

By default if no FilePolicyConfig is present, the FilePolicyDefault policy gets applied which doesn’t impose any restrictions and provides reasonable default locations for temporary and log files.



Checkout these related ports:
  • Zziplib - Library to provide transparent read access to zipped files
  • Zydis - Fast and lightweight x86/x86-64 disassembler library
  • Zycore-c - Support library with platform independent types, macros, etc for Zydis
  • Zthread - Platform-independent object-oriented C++ threading library
  • Zookeeper - Coordination Service for Distributed Applications
  • Zls - Zig LSP implementation + Zig Language Server
  • Zfp - High throughput library for compressed floating-point arrays
  • Zeal - Offline documentation browser
  • Zapcc - C++ caching compiler based on clang
  • Zanata-platform - Web-based translation platform
  • Zanata-cli - Zanata Java command line client
  • Z88dk - Complete Z80/Z180 development kit
  • Z80ex - ZiLOG Z80 CPU emulator library
  • Z80asm - Assembler for the Z80 microprocessor
  • Z80-asm - Z80 assembly code assembler and disassembler