mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-13 00:17:31 +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(helmet.frameguard())
|
||||
//app.use(helmet.frameguard({ action: 'SAMEORIGIN' }));
|
||||
//app.use(helmet.xssFilter())
|
||||
/*app.use(helmet.hsts({
|
||||
maxAge: 7776000000,
|
||||
|
||||
Reference in New Issue
Block a user