Skip to content

Update Stirling-PDF v2.4.3 - Add Built-in Login Authentication#36

Open
BookJJun-IJ wants to merge 7 commits intoYundera:mainfrom
BookJJun-IJ:Stirling-PDF
Open

Update Stirling-PDF v2.4.3 - Add Built-in Login Authentication#36
BookJJun-IJ wants to merge 7 commits intoYundera:mainfrom
BookJJun-IJ:Stirling-PDF

Conversation

@BookJJun-IJ
Copy link
Member

Update Stirling-PDF v2.4.3 - Add Built-in Login Authentication

Description

Adds Stirling-PDF's built-in login authentication to improve security. Previously the app was configured without authentication, relying solely on network-level access control.

What Changed

Authentication Enabled:

  • DOCKER_ENABLE_SECURITY: true
  • SECURITY_ENABLELOGIN: true
  • SECURITY_INITIALLOGIN_USERNAME: admin
  • SECURITY_INITIALLOGIN_PASSWORD: $PCS_DEFAULT_PASSWORD
  • Index page changed to /login

Why:

  • Adds an additional security layer beyond network-level access
  • Uses $PCS_DEFAULT_PASSWORD per CONTRIBUTING.md standards
  • Users can change credentials after first login

Security Checklist

  • Default authentication enabled with $PCS_DEFAULT_PASSWORD (no hardcoded credentials)
  • Login credentials documented in tips (all 5 languages)
  • Root user (0:0) justified in rationale.md - required for Java runtime and PDF tools
  • Specific version tag: 2.4.3
  • pre-install-cmd uses specific version tag (ubuntu:22.04)

Functionality Checklist

  • Works immediately after installation
  • Data mapped to /DATA/AppData/$AppID/ and /DATA/Downloads/
  • cpu_shares: 50 (Standard Application)
  • Resource limits: 5G memory (2G reservation), 1.0 CPU
  • Fresh installation tested
  • Uninstall/reinstall tested - data persists

Documentation Checklist

  • Description in 5 languages (en_us, ko_kr, zh_cn, fr_fr, es_es)
  • Tips updated with login credentials table in all 5 languages
  • Icon, screenshots, thumbnail point to Yundera/AppStore@main

Testing

  • ✅ Login page appears on first access
  • ✅ admin / $PCS_DEFAULT_PASSWORD authentication working
  • ✅ Session persistence after login
  • ✅ All PDF operations functional after authentication
  • ✅ Password change via admin panel verified

Links

@BookJJun-IJ
Copy link
Member Author

Commit message: Fixed typos and removed unnecessary phrases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant