1
0
dwelling-home/web/privacy.templ

30 lines
1.8 KiB
Plaintext

package web
import "net/http"
import "git.arav.su/Arav/dwelling-home/pkg/util"
templ Privacy(r *http.Request) {
@base("Privacy", "Privacy statements for all of my services.", "privacy statements", "/privacy", nil) {
<section id="privacy">
<h2>Privacy statements</h2>
<h3>General data</h3>
<p>Across all of my Web-services following data is being collected: date of access, IP-address, User-Agent, referer URL, request URL.</p>
<h3>Use of JavaScript</h3>
<p>JS is used on a <a href="/">main website</a> at a guestbook page to refresh CAPTCHA; at mindflow page to filter posts by categories.</p>
<p><a href={ templ.URL(util.GetServiceByHost(r.Host, util.ServiceRadio)) }>Radio service</a> uses JS to update Last N songs list section, and to get current radio statistics.</p>
<p><a href={ templ.URL(util.GetServiceByHost(r.Host, util.ServiceFiles)) }>Files service</a> uses JS to add functionality such as an overlay to view files without the need to leave a site, and implements some keyboard control for convenience.</p>
<h3>Upload service specific</h3>
<p>Every action (upload, download, and delete) is being logged and includes this additional data:</p>
<ol>
<li>File's name it was uploaded/downloaded with;</li>
<li>Unsalted SHA-256 hash of a file;</li>
<li>A salted hash encoded as base64 in raw URL variant that is used to download/delete a file;</li>
<li>File's size.</li>
</ol>
<p>And I will cooperate with law enforcements and provide them with all information (logs and a file itself if it is still present).</p>
<p>As already stated at <a href={ templ.URL(util.GetServiceByHost(r.Host, util.ServiceUpload)) }>Upload service</a>'s page, file's content must comply with law of Russian Federation. Anything like extremist materials, CP, and so on is forbidden.</p>
</section>
}
}