Sleep Safe 1.0.6
Sleep safe knowing you're guarded against CSRF, XSS, and other web attacks

Guards your BedSheet web app against CSRF, XSS, and other attacks, letting you Sleep Safe at night!

For the most part, Sleep Safe is completely unobtrusive. Simply reference afSleepSafe as a dependecny in your project's build.fan and let the sensible defaults monitor your HTTP requests and set protective HTTP response headers.

Note that other Alien-Factory libraries integrate seemlessly with Sleep Safe:

  • Duvet - When injecting scripts and stylesheets, Duvet will automatically adjust the Content-Security-Policy to include a hash of the added content.
  • FormBean - When rendering forms, FormBean will automatically render any CSRF token as hidden inputs.

Read more...

Install

To install Sleep Safe with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install Sleep Safe with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/ directory.

afSleepSafe.pod (86.85 kB)

Use

To use Sleep Safe in a Fantom project, add a dependency to the project's build.fan:

depends = ["sys 1.0", ..., "afSleepSafe 1.0.6 - 1.0"]

Documentation

Information

Meta information on the Sleep Safe pod:

Published by
Steve Eynon
Organisation
Fantom-Factory Ltd
Pod file size
86.85 kB
Licence
ISC
Built on
17th May 2020
Source code
via Git at https://github.com/Fantom-Factory/afSleepSafe
Depends on
afBedSheet, afConcurrent, afIoc, afIocConfig, afIocEnv, concurrent, sys, util
Referenced by
Javascript Compatible
No

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 4 releases of Sleep Safe: