Aug 30, 2016

NodeJS express security


app.use(session( {

httpOnly: true, // don't let browser javascript access cookies ever
secure: true, // only use cookies over https
ephemeral: true // delete this cookie when the browser is closed.

)});

1 comment:

  1. Your blog is so interesting and exceptional, so first-rate to find out someone with some actual thoughts on this issue substantially. Thank you very an awful lot. publish changed into extended, but I loved to test it till the ultimate phrase.
    Oracle Fusion procurement Online Coaching
    Oracle Fusion procurement Coaching Center

    ReplyDelete