locksmith
: an assistant to secure your websiteThe goal of locksmith is to provide user-friendly functions that check and propose changes to secure your website.
You can install the development version of locksmith from GitHub:
remote::install_github("bisaloo/locksmith")
generate_sri(file = "mypage.html")
generate_csp(file = "mypage.html")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.