From 5f8b6d2b09210375fe86ec17dc1aa99301722dfe Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Thu, 10 Feb 2022 22:50:33 +0400 Subject: [PATCH] Another rewriting of index page. --- internal/handlers/web/templates/index.jade | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/internal/handlers/web/templates/index.jade b/internal/handlers/web/templates/index.jade index 6f9c9e4..7d8ef71 100644 --- a/internal/handlers/web/templates/index.jade +++ b/internal/handlers/web/templates/index.jade @@ -4,7 +4,7 @@ block body h2 Rules ul li Max. file size is #{.FileMaxSz}. - li A file will be kept for #{.KeepForHours} hours. + li It will be kept for #{.KeepForHours} hours. li Anything you upload should comply with Russian Federation's law. li Generally speaking, anything illegal, like CP etc., is forbidden. section#used-space.center @@ -26,7 +26,8 @@ block body p.center filename.ext could be anything but empty. It is a name the file will be retrieved with. section h2 Privacy statements - p I WILL cooperate with law enforcements and provide them with logs, and, if it still there, a file caused problems. Other than such situations logs won't get to the hands of third parties. - p Upload logs include: access time, IP-address, name of a file it was uploaded with, a SHA-256 hash of the file, download name*, size of the file in bytes. - p Each download also being logged and include: access time, IP-address, name of a file it was requested with, download name*. - p *Download name is a salted SHA-256 hash of the file encoded using base64 raw URL encoding. \ No newline at end of file + p I WILL cooperate with law enforcements and provide them with logs. + p Upload logs include: access time, IP-address, name of a file it was uploaded with, a SHA-256 hash of the file, download name*, size of the file in bytes, User-Agent. + p Each download also being logged and include: access time, IP-address, name of a file it was requested with, download name*, User-Agent. + p *Download name is a salted SHA-256 hash of the file encoded using base64 raw URL encoding. + p It was decided to salt the hash to make useless any attempt on bruteforcing. \ No newline at end of file