简体   繁体   中英

EJS is secure to use? (Embedded JS)

I'm rendering some sensitive datas with EJS . Anybody can see it in development console of browsers like this : ?

console.log(ejs.render(..));

You've said you're rendering the secret information. That being the case, your rendering technology has nothing to do with it. If the page is delivered securely (SSL, etc.), then you should be fine. If it isn't, it's not secure whether you use ejs or not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM