DwiDevelopes / DwiDevelopes/Launcher

konfigurasi

Open
#9 0 comments 3 reactions 1 assignee Claimed by @DwiDevelopes View on GitHub
help wanted
Dominant language
Python
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

1. **Konfigurasi `.streamlit/config.toml`:**
```toml
[server]
enableCORS = false
enableXsrfProtection = true
headless = true
port = 8501

2. STREAMLIT_SECRET_KEY=xxxxxx
ADMIN_PASSWORD=xxxxxx

3. Implementasi login sederhana (contoh): import streamlit_authenticator as stauth
names = ["Admin"]
usernames = ["admin"]
passwords = ["12345"]
hashed_pw = stauth.Hasher(passwords).generate()

4. Perkuat HTTP header:Tambahkan Strict-Transport-Security.

Gunakan X-Frame-Options: DENY.

Gunakan Content-Security-Policy untuk mencegah XSS.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.