Spaces:
Sleeping
Sleeping
|
Download SECURITY.md from AItoolstack/AI-PolicyTrace: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/spaces/AItoolstack/AI-PolicyTrace/resolve/main/SECURITY.md
- Command line
-
hf download hf://spaces/AItoolstack/AI-PolicyTrace/SECURITY.md
-
curl -L -o SECURITY.md https://huggingface.co/spaces/AItoolstack/AI-PolicyTrace/resolve/main/SECURITY.md
1.02 kB
Security And Privacy
PolicyTrace is designed for document extraction workflows that may involve sensitive personal data.
Public Demo Rules
- Use only synthetic or redacted PDFs.
- Do not commit real customer documents.
- Do not commit
.envor API keys. - Do not commit
output/, session folders, debug artifacts, or generated extraction JSON from real documents. - Rotate any key that was ever stored in a local file before publishing the repository.
Secrets
Local development uses .env, which is ignored by git.
Production deployments should use platform secrets:
- Hugging Face Spaces: Space Secrets
- GitHub Actions: Repository Secrets
- Cloud platforms: managed secret stores
Uploaded Files
The local API stores uploaded PDFs under output/sessions/. Session folders are deleted on startup when they are older than pipeline.session_ttl_days.
For production use, add authentication, stronger retention controls, audit logging, and external storage policies before accepting real documents.