fetch_ml/internal/fileutil/secure_windows.go
Jeremie Fraeys a981e89005
feat(security): add audit subsystem and tenant isolation
Implement comprehensive audit and security infrastructure:
- Immutable audit logs with platform-specific backends (Linux/Other)
- Sealed log entries with tamper-evident checksums
- Audit alert system for real-time security notifications
- Log rotation with retention policies
- Checkpoint-based audit verification

Add multi-tenant security features:
- Tenant manager with quota enforcement
- Middleware for tenant authentication/authorization
- Per-tenant cryptographic key isolation
- Supply chain security for container verification
- Cross-platform secure file utilities (Unix/Windows)

Add test coverage:
- Unit tests for audit alerts and sealed logs
- Platform-specific audit backend tests
2026-02-26 12:03:45 -05:00

9 lines
269 B
Go

//go:build windows
// +build windows
package fileutil
// o_NOFOLLOW is not available on Windows.
// FILE_FLAG_OPEN_REPARSE_POINT could be used but requires syscall.CreateFile.
// For now, we use 0 (no-op) as Windows handles symlinks differently.
const o_NOFOLLOW = 0