protect against 'ClickJacking' attacks (#197)
Sites can use this to avoid click-jacking attacks, by ensuring that their content is not embedded into other sites.pull/208/head
parent
0179681b9b
commit
6e76db7108
|
@ -61,7 +61,7 @@ app.use(bodyParser.urlencoded({
|
||||||
}));
|
}));
|
||||||
|
|
||||||
app.use(cookieParser());
|
app.use(cookieParser());
|
||||||
//app.use(helmet.frameguard())
|
//app.use(helmet.frameguard({ action: 'SAMEORIGIN' }));
|
||||||
//app.use(helmet.xssFilter())
|
//app.use(helmet.xssFilter())
|
||||||
/*app.use(helmet.hsts({
|
/*app.use(helmet.hsts({
|
||||||
maxAge: 7776000000,
|
maxAge: 7776000000,
|
||||||
|
|
Loading…
Reference in New Issue