简体   繁体   English

EJS是否可以安全使用? (嵌入式JS)

[英]EJS is secure to use? (Embedded JS)

I'm rendering some sensitive datas with EJS . 我正在使用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. 如果页面安全交付(SSL等),则应该没问题。 If it isn't, it's not secure whether you use ejs or not. 如果不是,则无论您是否使用ejs都不安全。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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