MIME and Media Type sniffing explained and the type of attacks it leads to
Any content served through HTTP “should” include meta data about its type. This is so the browser/client knows what to do with the content it receives. For e...
🔥 Related Trending Topics
LIVE TRENDSThis video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!
THIS VIDEO IS TRENDING!
This video is currently trending in Bangladesh under the topic 's'.
About this video
Any content served through HTTP “should” include meta data about its type. This is so the browser/client knows what to do with the content it receives. For example, if the content type header is an image the browser will preview it, if it is HTML it will render the markup and execute any javascript code.
Content type however is optional and web masters sometimes don’t set it, which leave the browsers wondering about the content type it is consuming. So browsers had to implement parsing and “sniffing” techniques to detect the type of content when a content type header was not served.
However, this caused security problems and attacks that we explain in this video! So to prevent sniffing, web servers can return X-Content-Type-Options: nosniff which opts out browsers from sniffing the content.
Media type: https://en.wikipedia.org/wiki/Media_type#Common_examples
Cheers!
Hussein Nasser
Video Information
Views
26.4K
Total views since publication
Likes
567
User likes and reactions
Duration
10:42
Video length
Published
Sep 9, 2018
Release date
Quality
hd
Video definition
About the Channel
Tags and Topics
This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:
#mime sniffing #content sniffing #content sniffing attack #Content-Type sniffing security #X-Content-Type-Options: nosniff #text/style sniffing #text/css sniffing #multipurpose internet mail exchange #internet explorer nosniff #what is mime sniffing
Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.