24 lines
838 B
Markdown
24 lines
838 B
Markdown
tags:: [[git]], [[Web Development]]
|
|
|
|
- ### StaticCyrpt
|
|
- StaticCyrpt ermöglicht es einen Passwortschutz auf auf statischen HTML-Content anzuwenden
|
|
- [StatiCrypt: Password protect static HTML (robinmoisson.github.io)](https://robinmoisson.github.io/staticrypt/)
|
|
- dieser Service kann auch per CLI automatisiert werden
|
|
- [robinmoisson/staticrypt: Password protect a static HTML page (github.com)](https://github.com/robinmoisson/staticrypt)
|
|
- ### Batch
|
|
- ```batch
|
|
@echo off
|
|
|
|
echo deleting old file
|
|
del index.htm
|
|
|
|
echo encrypting file
|
|
cmd /c npx staticrypt index.html -o index.htm biggesee2010# -i "siehe Telegram-Chat" --passphrase-placeholder "Passwort" --decrypt-button "Login" --title "KFB-Web"
|
|
|
|
echo coping file
|
|
|
|
git add .
|
|
git commit -m "index encrypted"
|
|
echo pushing data
|
|
git push
|
|
``` |