feat(securite+licence): hardening infra (Bun bind 127.0.0.1, systemd non-root+NoNewPrivileges, DB 600) + licence maison stricte (page /licence FR+EN, lien footer, TOS §10, LICENSE.md/README dépôt, sitemap)

This commit is contained in:
rinrin 2026-09-08 11:17:07 +02:00
commit 83977fb6d3
30 changed files with 296 additions and 25 deletions

View file

@ -48,9 +48,11 @@
var h = lang();
var tos = h === 'fr' ? "Conditions d\u2019utilisation" : 'Terms of Service';
var priv = h === 'fr' ? 'Confidentialit\u00e9' : 'Privacy';
var lic = h === 'fr' ? 'Licence' : 'License';
var note = h === 'fr' ? 'Le site ne pose qu\'un cookie de pr\u00e9f\u00e9rence de langue, sans suivi.' : 'This site only sets a language-preference cookie, with no tracking.';
var tosHref = h === 'fr' ? '/fr/tos' : '/en/tos';
var privHref = h === 'fr' ? '/fr/privacy-policy' : '/en/privacy-policy';
var licHref = h === 'fr' ? '/fr/licence' : '/en/licence';
var html = '';
html += '<p>Zektyc \u00b7 France</p>';
@ -62,6 +64,8 @@
html += '<span class="footer-sep" aria-hidden="true">\u00b7</span>';
html += '<a href="' + privHref + '">' + priv + '</a>';
html += '<span class="footer-sep" aria-hidden="true">\u00b7</span>';
html += '<a href="' + licHref + '">' + lic + '</a>';
html += '<span class="footer-sep" aria-hidden="true">\u00b7</span>';
html += '<a href="/docs/maxspeed">API</a>';
html += '<span class="footer-sep" aria-hidden="true">\u00b7</span>';
html += '<a href="/.well-known/security.txt">security.txt</a>';