SDK Subresource Integrity

A Subresource Integrity (SRI) check is a security feature that enables browsers to verify that the resources they fetch are delivered without unexpected manipulation. It works by allowing you to provide a cryptographic hash that a fetched resource must match.

Note: To use SRI, you must use a browser that supports this feature. If your browser does not support the feature, the browser simply loads the resource without any check. To see if your browser supports SRI, see here.

Usage

<script src="https://sdk.inbenta.io/search/{version}/inbenta-search-sdk.js" integrity="{hash-type}-{hash}"  crossorigin="anonymous"></script>

Instructions: Copy the above code to your page and replace {version} and {hash-type}-{hash} with the desired values (See table below).

Example
<script src="https://sdk.inbenta.io/search/1.19.1/inbenta-search-sdk.js" integrity="sha384-viZG/3OfKopmj0koWN4ppT4qZ+eAFy5BMTYAIiWcmaDyJDPzVzIW+ajLnV4tfTcl" crossorigin="anonymous"></script>
If the check fails...

If the integrity check fails, the resource is not loaded and an error message is created in the browser console. Here is an example of an error message after attempting to load a KM resource:

inbenta-search-sdk.js

Version Subresource integrity hash
1.27.0 sha384-h64ildwNAEuXLkwg13LSuNIc+s+fuTgqay8no8Fu2nHFbtU2s6iGVXmfeypUgu6j
1.26.0 sha384-m1FUeAItnOrVnCzdNsZEQvxK3ZCPOtlWFJHEzGR6rdP/NUonNoaLLh0RNgGRY/k+
1.25.0 sha384-yFa2yQyGZlrK+Pwv4RVz5wLlTpP6jkD37MymaXHQOkeRsG6Ko/vogeVIi0rtXEeV
1.24.2 sha384-240w9U2xuUboULEa8jnM0XwLiAfxskQJMCt7wjonGBqbOUDAqZLuFoZZNGq/NdEE
1.24.1 sha384-62XqglmlhiZvxpVm2SL/x9mnqXJ1899F2xk8t3zuKGyff1O8rnDpSesj5ZsWfkem
1.24.0 sha384-zQOrbGoEvSpMT30DH14GJ5DzpS9vV/LHNwq1BAWic4zn1PruGVZI+4vQoQoBIJVF
1.23.0 sha384-/IothsS/pivuRbALEci48MM6t/YebfQmZt09jfF101kZwUVDZiBVsaDjaWvlOJFy
1.22.1 sha384-/mESeSX18T+yqw8MkTDeNhPTJmOnoEKWIOOB0ZrpQ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KxJfSaPDY
1.16.0 sha384-JbBD6JOK6E5D4VLaFtiIhq9n1rrFCHgPEMYJh/HVqVsCWCgXxaQdjrQsDx7TFynw
1.15.0 sha384-b4rATuuvNyhiWHuXawmzwAuWZa+ZCHi1jMl53w569R8JGfp8JeGY1UjdPdsDyXA5
1.14.2 sha384-b/5e/GMSI40RciluruhWjoiB1bDM9pTGfQhBt0w5t00tcN2JyPdg4UE8UumSHYei
1.14.1 sha384-hh18rSFlf09vKPVnvjv30rV3PIwVc/WiJaOELoJPbgWl8mqNkMuND1V1/AJbLTI/
1.13.0 sha384-42eXpSyB5Bk3LEjqD7jSU1BH779ebHtQO7mubAkIZHsz6G5kXBMv+tBLKsQZvMiM
1.12.0 sha384-my3lmm5YI1dXHs9EjuysYs73Iyso/oVYmMxaLsb8+l5lM9LiyEigL0ts9AATx2G/
1.11.0 sha384-5AyESb8lwVgoYs8RELCRqjeG8sc3KaIM1hyOtwuWDr499ja/kLCayOgsR6nRJvF2
1.10.0 sha384-sExtHldWedk3cjESr1yBpsIFQAkbC4j6qa58SBMRPBL58m7SP0zBJohH6F6yUnik
1.9.3 sha384-lDgXli5uorAhZlnMDmCDm1Kq27DgGUOx+OOmSeR/KZTpZB7FunrRT1S071zvjmjP
1.9.2 sha384-bogzgFcWFAgiIe6XYxxtyDqbLv/BmeO4kvlQY4uBRn9/Z/mbTVP8c3J3oUPIF1uj
1.9.1 sha384-alPtYvu5MFCs3tZOWLwpK5wFRESrkm6Th/2/rghbCBnOMo104avQ4ZRa7uAswwIn
1.9.0 sha384-b8kOs5xq/dXRYfKlrNALQ9WwM75K9LzdamgmDsphBzm3c0p1XvugKQn0uTH6yGNS
1.8.1 sha384-Kiz0yaaxdL6etXx6lNS5PZe5Aj0jGMr4LJULzfeey0xhUsAzKakLjBpWpleL3xQ7
1.7.1 sha384-VresEGcoK7fzaGpJBzQuGTCjHHSueTpOVoWanWKI+7iqlkTrn56/cvvEa7s7dO3u
1.7.0 sha384-asQTFZetJ7DiAYp1HXbpyLKCpy9qCGqGE/lU5hE41iIwv4N7mbipZw3WjiruRo/T
1.6.2 sha384-vrAxvlVUI/tadfdM6lEBOOoqboy/KWJt9dsXTZqvgwbBICoIfIZx+f8b912tufkw
1.6.1 sha384-z9j7QqjUW8OgHyoA9X3XU4xWd3+sRCuOekiQWN5vsSNZxfGQ7c3wOLkFlIZ6MSu7
1.6.0 sha384-oFtPIW8o40YY6GsSxANknttE3K+4ihpOCA7KBNKP2AAmCAJUKr5T8++OOuZE3rFG
1.5.2 sha384-zq5hR1zCSG2KTOgMa/id6cyZtoUp8DO8HxtXIkofWHjOhQQ/mXFDUjVZcV/SG3GT
1.5.0 sha384-1/uBSRfiS6ZHJG0/uWN8owYeU82IfbfushPueTOdfFpYWBmCKW6Qdg34bgj/j8Ww
1.4.0 sha384-H5bLlwgHTDx+hoJ6DOFCCjl8qEbvFbZhMEr82BAeUaVXYvWqkUsJUdegEJNL1YXz
1.3.1 sha384-mmKb4CZT93V/f/odIoeLXz1VJCKIPcTbxYv3wpsd6iul8ODwu7vDKMm6uC1/YO6/
1.3.0 sha384-htGQWWDHHEiugro9LRUkY+jb/bG7qan+FvQWQjZZGj5/xYkkdCfXzrymQ6mkDI1D
1.2.1 sha384-NhJtOR9FUZzL6CToqOpIV97qZeAbwXHkIq1ogBIFY0aSmoXALH7lKlIW43WvrBYP
1.2.0 sha384-NhJtOR9FUZzL6CToqOpIV97qZeAbwXHkIq1ogBIFY0aSmoXALH7lKlIW43WvrBYP
1.1.0 sha384-Nxod0NkklwUeCLb9qJo3VVTnepzfrNrqdrqX7/2cnvmBdxJX6qvtkKNPysYT7FNZ
1.0.1 sha384-rlKzrHHUS1M3lUEIL6xL4gZtPhvbW/aJ4Ef1ksEyGyRVd4f2FkNaL6RcLDUeuApN
1.0.0 sha384-wtyWTgLVlc2vcvYl7L4/nnIrXhXw0DwG9JLoYDfM0iv8WhnJSCw/u85SZg9hHu7x

inbenta-search-client.js

Version Subresource integrity hash
1.27.0 sha384-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