-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
-
Konfigurasi
.streamlit/config.toml:[server] enableCORS = false enableXsrfProtection = true headless = true port = 8501
-
STREAMLIT_SECRET_KEY=xxxxxx
ADMIN_PASSWORD=xxxxxx -
Implementasi login sederhana (contoh): import streamlit_authenticator as stauth
names = ["Admin"]
usernames = ["admin"]
passwords = ["12345"]
hashed_pw = stauth.Hasher(passwords).generate() -
Perkuat HTTP header:Tambahkan Strict-Transport-Security.
Gunakan X-Frame-Options: DENY.
Gunakan Content-Security-Policy untuk mencegah XSS.
RoyhtmlRoyhtmlRoyhtml
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed
Projects
Status
Done