X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2FSecurity.html;h=cec2059002aaa8d65497cec7b75abc59819b4ea1;hb=5eb724785209fd0ddf34784be8f872d83208eb54;hp=914fa5074a908d34911e29e1054397036f191ca9;hpb=bb91a8c6e8649d482a552b64c6a0c8e65c6becd7;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/Security.html b/doc/Security.html index 914fa507..cec20590 100644 --- a/doc/Security.html +++ b/doc/Security.html @@ -4,46 +4,69 @@ -
.php
file..htaccess
files, the data file will still not be readable by URL.The database looks like this:
-<?php /* zP1ZjxxJtiYIvvevEPJ2lDOaLrZv7o...
-...ka7gaco/Z+TFXM2i7BlfMf8qxpaSSYfKlvqv/x8= */ ?>
<?php /* zP1ZjxxJtiYIvvevEPJ2lDOaLrZv7o...
+...ka7gaco/Z+TFXM2i7BlfMf8qxpaSSYfKlvqv/x8= */ ?>
Small hashes are used to make a link to an entry in Shaarli. They are unique. In fact, the date of the items (eg. 20110923_150523
) is hashed with CRC32, then converted to base64 and some characters are replaced. They are always 6 characters longs and use only A-Z a-z 0-9 - _
and @
.