mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2026-01-29 14:35:26 +01:00
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.
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user