Learning Dojo

article thumbnail

Securing Your xAPI Statements in JavaScript

Learning Dojo

"auth" : "Basic " + toBase64('mykey:mysecret'), }; ADL.XAPIWrapper.changeConfig(conf); For the HTTPS enforcement – if you are able to edit to the.htaccess file, the following would ensure the users are always redirected to the https version of the site, even if they type [link]. RewriteEngine On. RewriteCond %{SERVER_PORT} 80.

xapi 45