Standard Installation
Below are steps explaining how to add the SecurityTips button to your website or intranet.
Installation Steps:
- Create SecurityTips Account.
- Add Site to your Account.
- Configure Your SecurityTips Button.
- Get Code Snippet for your SecurityTips Button.
- Add Code Snippet to the bottom of your website or intranet above the closing < / body> tag.
Enterprise Installation
Below are steps explaining how to add the SecurityTips button to your website or intranet using the Enterprise method to track activity by email.
Enterprise Installation Steps:
- Create SecurityTips Account.
- Add Site to your Account.
- Configure Your SecurityTips Button.
- Get Code Snippet for your SecurityTips Button
- Before adding your snippet of code please verify that you have the following variables in your Code Snippet etp_number and etp_email. The email variable should be blank at first.
- Add Code Snippet to the bottom of your website or intranet above the closing < / body> tag.
Dynamically add the email address of your user from your website or intranet.
Example<script> (function() { var s = document.createElement('script'); var h = document.querySelector('head') || document.body; s.src = 'https://cdnx.securitytips.com/etp.js'; s.async = true; s.onload = function(){ etp.init({ etp_number : "<your_etp_number>", etp_email : "<?php echo $user_email_address; ?>", language: 'en', position: 'left', primaryColor: "#00b3e5", secondaryColor: "#062f4a", tertiaryColor: '#062f4a', buttonColor: "#1177bb", footerLink: "", footerName: "", buttonRadius: '50%', buttonPositionX: "left", buttonPositionY: "bottom", buttonIcon: "Shield", buttonSize: "large", buttonOffsetX: 20, buttonOffsetY: 20 }); }; h.appendChild(s); })(); </script>This example demonstrates how to dynamically add the user's email address to the SecurityTips Embed Code using PHP, given that you have the currently logged in user's email stored in a variable called $user_email_address.
Note that the implementation may vary depending on your application. Below are examples for different scenarios:
- For a language using double curly braces for templating (e.g., Handlebars, Mustache, Blade, Vue):
etp_email : "{{ user_email_address }}", - For a basic PHP example:
etp_email : "<?php echo $user_email_address; ?>", - For a basic JavaScript example:
etp_email : "<script>document.write(user_email_address);</script>",
- For a language using double curly braces for templating (e.g., Handlebars, Mustache, Blade, Vue):
Sharepoint Installation
After downloading security tips from the Sharepoint Store, the following will need to be executed in powershell. This requires that the user running powershell is a sharepoint admin. Open PowerShell on a machine where you can install/run Microsoft's SharePoint Online Management Shell.
Connect to the tenant:
Connect-SPOService -Url https://<your-tenant>-admin.sharepoint.com
Example:
Connect-SPOService -Url https://phishingbox-admin.sharepoint.com
Then run:
Set-SPOTenant -DelayContentSecurityPolicyEnforcement $true
(Get-SPOTenant).DelayContentSecurityPolicyEnforcement
Notes:
This is tenant-wide.
You need SharePoint admin privileges.
This is not run inside the SharePoint website UI.