github root-gg/plik 1.2-RC3
Plik 1.2 RC-3

latest releases: 1.3.8, 1.3.7, 1.3.6...
pre-release8 years ago

Hi,

Plik 1.2 RC-3 is targeted at security.

Plik allow users to upload and serve any content as-is, but hosting untrusted HTML raises some well known security concern like phishing, xss, xsrf,... Rendering HTML and executing javascript in the context of Plik is not something we consider a feature. We try to avoid it by overriding Content-Type "text/html" to "text-plain", also the Content-Security-Policy HTTP header should disable sensible features of most recent browsers like resource loading, xhr requests, iframes,...

We also strongly advise you to use the new DownloadDomain option with a separate (sub-) domain to enforce that download links do not share the same origin than the Plik web client.

Changelist :

  • Add security headers to getFileHandler to avoid HTML rendring in web browser
  • Enforce download domain option
  • Add README security section
  • Display Golang version on build info
  • Update go version in travis build

Cheers,
The Plik team.

Don't miss a new plik release

NewReleases is sending notifications on new releases.