Sleep Safe 1.0.2
Sleep safe knowing you're guarded against CSFR, XSS, and other web attacks

Guards your BedSheet web app against CSFR, 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.08 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.2 - 1.0"]

Documentation

Information

Meta information on the Sleep Safe pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
86.08 kB
Licence
ISC Licence
Built on
27th Mar 2018
Source code
via Mercurial at https://bitbucket.org/AlienFactory/afsleepsafe
Depends on
afBedSheet, afConcurrent, afIoc, afIocConfig, afIocEnv, concurrent, sys
Referenced by
Javascript Compatible
No

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 2 releases of Sleep Safe: