Socket
Socket
Sign inDemoInstall

ienoopen

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ienoopen

Middleware for IE security. Set X-Download-Options to noopen.


Version published
Weekly downloads
129K
decreased by-8.4%
Maintainers
1
Weekly downloads
 
Created

What is ienoopen?

The ienoopen npm package is a middleware for Express.js that sets the X-Download-Options header to 'noopen' to prevent Internet Explorer from executing downloads in your site's context. This is a security measure to mitigate certain types of attacks.

What are ienoopen's main functionalities?

Set X-Download-Options header

This feature sets the X-Download-Options header to 'noopen' for all responses, which helps prevent Internet Explorer from executing downloads in your site's context. The code sample demonstrates how to integrate the ienoopen middleware into an Express.js application.

const express = require('express');
const ienoopen = require('ienoopen');

const app = express();

// Use ienoopen middleware
app.use(ienoopen());

app.get('/', (req, res) => {
  res.send('Hello, world!');
});

app.listen(3000, () => {
  console.log('Server is running on port 3000');
});

Other packages similar to ienoopen

Keywords

FAQs

Package last updated on 18 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc