2018-10-12 15:37:13 -04:00
|
|
|
---
|
|
|
|
|
title: Prevent IE from Opening Untrusted HTML with helmet.ieNoOpen()
|
|
|
|
|
---
|
|
|
|
|
## Prevent IE from Opening Untrusted HTML with helmet.ieNoOpen()
|
|
|
|
|
|
2019-02-11 14:25:59 -06:00
|
|
|
### Hint
|
2018-10-12 15:37:13 -04:00
|
|
|
|
2019-02-11 14:25:59 -06:00
|
|
|
- You want your `app` to `use` helmet's `ieNoOpen()` method on each request.
|
2018-10-12 15:37:13 -04:00
|
|
|
|
2019-02-11 14:25:59 -06:00
|
|
|
### Solution
|
|
|
|
|
|
|
|
|
|
- In the `myApp.js` file add `app.use(helmet.ieNoOpen());` under the sixth instructions.
|
|
|
|
|
|
|
|
|
|
**Note:** Be sure to submit the link to the **live demo** of your project.
|