{"_id":"ienoopen","_rev":"1754323","name":"ienoopen","description":"Middleware to set `X-Download-Options` header for IE8 security","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"evanhahn","email":"me@evanhahn.com"}],"time":{"modified":"2021-11-29T01:35:16.000Z","created":"2014-10-28T14:28:38.096Z","1.1.1":"2020-06-16T16:15:55.480Z","1.1.0":"2019-03-10T18:12:55.179Z","1.0.0":"2015-12-18T18:44:06.433Z","0.1.0":"2014-10-28T14:28:38.096Z"},"users":{"astesio":true},"author":{"name":"Adam Baldwin","email":"adam@npmjs.com","url":"https://evilpacket.net"},"repository":{"type":"git","url":"git://github.com/helmetjs/helmet.git"},"versions":{"1.1.1":{"author":{"name":"Adam Baldwin","email":"adam@npmjs.com","url":"https://evilpacket.net"},"contributors":[{"name":"Evan Hahn","email":"me@evanhahn.com","url":"https://evanhahn.com"},{"name":"Nathan Shively-Sanders","email":"nathansa@microsoft.com","url":"https://github.com/sandersn"}],"license":"MIT","homepage":"https://helmetjs.github.io/docs/ienoopen/","bugs":{"url":"https://github.com/helmetjs/helmet/issues","email":"me@evanhahn.com"},"repository":{"type":"git","url":"git://github.com/helmetjs/helmet.git"},"engines":{"node":">=4.0.0"},"main":"index.js","typings":"index.d.ts","name":"ienoopen","description":"Middleware to set `X-Download-Options` header for IE8 security","version":"1.1.1","keywords":["express","security","x-download-options"],"_id":"ienoopen@1.1.1","_nodeVersion":"14.4.0","_npmVersion":"6.14.4","dist":{"shasum":"76370102daa9108955c0b0ba314a3dd6520d0f95","size":2223,"noattachment":false,"key":"/ienoopen/-/ienoopen-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ienoopen/download/ienoopen-1.1.1.tgz"},"maintainers":[{"name":"evanhahn","email":"me@evanhahn.com"}],"_npmUser":{"name":"evanhahn","email":"me@evanhahn.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ienoopen_1.1.1_1592324155337_0.7342410664245238"},"_hasShrinkwrap":false,"publish_time":1592324155480,"_cnpm_publish_time":1592324155480},"1.1.0":{"name":"ienoopen","author":{"name":"Adam Baldwin","email":"adam@npmjs.com","url":"https://evilpacket.net"},"contributors":[{"name":"Evan Hahn","email":"me@evanhahn.com","url":"https://evanhahn.com"}],"description":"Middleware for IE security. Set X-Download-Options to noopen.","version":"1.1.0","license":"MIT","keywords":["helmet","security","express","connect","noopen","x-download-options"],"homepage":"https://helmetjs.github.io/docs/ienoopen/","repository":{"type":"git","url":"git://github.com/helmetjs/ienoopen.git"},"bugs":{"url":"https://github.com/helmetjs/ienoopen/issues","email":"me@evanhahn.com"},"engines":{"node":">=4.0.0"},"scripts":{"pretest":"npm run lint","prepublishOnly":"npm run build","lint":"tslint --project . --fix","test":"jest --config test/jest-config.json","clean":"rm -rf dist","build":"npm run clean && tsc"},"main":"./dist/index.js","typings":"./dist/index.d.ts","devDependencies":{"@types/connect":"^3.4.32","@types/jest":"^24.0.9","@types/supertest":"^2.0.7","connect":"^3.6.6","jest":"^24.3.1","supertest":"^3.3.0","ts-jest":"^24.0.0","tslint":"^5.13.1","tslint-config-standard":"^8.0.1","typescript":"^3.3.3333"},"gitHead":"4d29c12eb4db003c51428e65d8946f6232448981","_id":"ienoopen@1.1.0","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"shasum":"411e5d530c982287dbdc3bb31e7a9c9e32630974","size":2366,"noattachment":false,"key":"/ienoopen/-/ienoopen-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ienoopen/download/ienoopen-1.1.0.tgz"},"maintainers":[{"name":"evanhahn","email":"me@evanhahn.com"}],"_npmUser":{"name":"evanhahn","email":"me@evanhahn.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ienoopen_1.1.0_1552241575019_0.6775495653212977"},"_hasShrinkwrap":false,"publish_time":1552241575179,"_cnpm_publish_time":1552241575179},"1.0.0":{"name":"ienoopen","author":{"name":"Adam Baldwin","email":"baldwin@andyet.net","url":"http://andyet.net/team/baldwin"},"contributors":[{"name":"Evan Hahn","email":"me@evanhahn.com","url":"http://evanhahn.com"}],"description":"Middleware for IE security. Set X-Download-Options to noopen.","version":"1.0.0","license":"MIT","keywords":["helmet","security","express","connect","noopen","x-download-options"],"repository":{"type":"git","url":"git://github.com/helmetjs/ienoopen.git"},"bugs":{"url":"https://github.com/helmetjs/ienoopen/issues"},"scripts":{"test":"standard && mocha"},"devDependencies":{"connect":"^3.4.0","mocha":"^2.3.4","standard":"^5.4.1","supertest":"^1.1.0"},"standard":{"global":["beforeEach","describe","it"]},"gitHead":"b40f380bf07bf3f1a38122297aeee3c3811c6cc4","homepage":"https://github.com/helmetjs/ienoopen#readme","_id":"ienoopen@1.0.0","_shasum":"346a428f474aac8f50cf3784ea2d0f16f62bda6b","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.3.0","_npmUser":{"name":"evanhahn","email":"me@evanhahn.com"},"maintainers":[{"name":"evanhahn","email":"me@evanhahn.com"}],"dist":{"shasum":"346a428f474aac8f50cf3784ea2d0f16f62bda6b","size":3197,"noattachment":false,"key":"/ienoopen/-/ienoopen-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ienoopen/download/ienoopen-1.0.0.tgz"},"directories":{},"publish_time":1450464246433,"_cnpm_publish_time":1450464246433,"_hasShrinkwrap":false},"0.1.0":{"name":"ienoopen","author":{"name":"Adam Baldwin","email":"baldwin@andyet.net","url":"http://andyet.net/team/baldwin"},"contributors":[{"name":"Evan Hahn","email":"me@evanhahn.com","url":"http://evanhahn.com"}],"description":"Middleware for IE security. Set X-Download-Options to noopen.","version":"0.1.0","keywords":["helmet","security","express","connect","noopen","x-download-options"],"repository":{"type":"git","url":"git://github.com/helmetjs/ienoopen.git"},"bugs":{"url":"https://github.com/helmetjs/ienoopen/issues"},"scripts":{"test":"mocha"},"devDependencies":{"connect":"^3.3.1","mocha":"^2.0.1","supertest":"^0.14.0"},"gitHead":"29f61aa6e6bd4d31944038413e13e7e0c8cf6adc","homepage":"https://github.com/helmetjs/ienoopen","_id":"ienoopen@0.1.0","_shasum":"7821de8b7dd3d0d117361e951d0bc29767cc9445","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"evanhahn","email":"me@evanhahn.com"},"maintainers":[{"name":"evanhahn","email":"me@evanhahn.com"}],"dist":{"shasum":"7821de8b7dd3d0d117361e951d0bc29767cc9445","size":2059,"noattachment":false,"key":"/ienoopen/-/ienoopen-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ienoopen/download/ienoopen-0.1.0.tgz"},"directories":{},"publish_time":1414506518096,"_cnpm_publish_time":1414506518096,"_hasShrinkwrap":false}},"readme":"# X-Download-Options middleware\n\nThis middleware sets the `X-Download-Options` header to `noopen` to prevent Internet Explorer users from executing downloads in your site's context.\n\n```javascript\nconst ienoopen = require(\"ienoopen\");\napp.use(ienoopen());\n```\n\nSome web applications will serve untrusted HTML for download. By default, some versions of IE will allow you to open those HTML files _in the context of your site_, which means that an untrusted HTML page could start doing bad things in the context of your pages. For more, see [this MSDN blog post](http://blogs.msdn.com/b/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx).\n\nThis is pretty obscure, fixing a small bug on IE only. No real drawbacks other than performance/bandwidth of setting the headers, though.\n","_attachments":{},"homepage":"https://helmetjs.github.io/docs/ienoopen/","bugs":{"url":"https://github.com/helmetjs/helmet/issues","email":"me@evanhahn.com"},"license":"MIT"}