简体   繁体   English

如何在NetBeans轻量级Web服务器中指定内容安全策略?

[英]How to specify the content security policy in netbeans lightweight webserver?

I am developing an html5 application on netbeans and I need to configure the netbeans lightweight web server to use a certain content security policy. 我正在netbeans上开发html5应用程序,并且需要配置netbeans轻量级Web服务器以使用某些内容安全策略。

How do I do that? 我怎么做?

I think there is no way to anyhow configure the embedded lightweight server used in HTML5 applications. 我认为无法以任何方式配置HTML5应用程序中使用的嵌入式轻量级服务器。 It is really lightweight :) You're gonna have to use some other server. 它真的很轻巧:)您将不得不使用其他服务器。

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

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