Tags
HTML
Asked 2 years ago
15 Apr 2022
Views 959
dilip

dilip posted

what is use of X-Content-Type-Options:nosniff ?

i want to prevent someone misusing the website resources and stealing the content.
so how to set the
X-Content-Type-Options:nosniff
and what is use of X-Content-Type-Options:nosniff ?
debugger

debugger
answered May 17 '22 00:00

in PHP you can use header function to send response X-Content-Type-Options: nosniff

header('X-Content-Type-Options: nosniff');

Post Answer