How to Pass Authorization Header in HTTP Request when using HTML5 Player (Audio tag) for security

i am using HTML5 audio player as follows :

<audio controls>
<source src=”<url>” type=”audio/mp3″>
</audio>

Now , i want to secure my app , So i want to pass some sessionId in Header parameter in http request fo… Continue reading How to Pass Authorization Header in HTTP Request when using HTML5 Player (Audio tag) for security

Is HTML5 input pattern validation sufficient (or even relevant) for client-side validation?

An interesting feature of HTML5 is the <input pattern=”” /> attribute, which allows the browser to validate the input field’s value against a regular expression provided by the developer.

Subsequently, this binds to th… Continue reading Is HTML5 input pattern validation sufficient (or even relevant) for client-side validation?

Why is Sub resource integrity (SRI) only limited to JS/CSS files and is it only for external sources?

I’m quite enthusiastic about the Sub resource integrity (SRI) features. But, why is it only limited to JS and CSS files?

I tried to pin a LESS (CSS variant) file, of which the integrity tag was ignored by Firefox and Chrome…. Continue reading Why is Sub resource integrity (SRI) only limited to JS/CSS files and is it only for external sources?