Settings to block file:// urls to request resources from https:// urls in browsers

0 投票
最新提问 用户: (140 分)

I am building an app which wraps some content in html. The users will be able to download this html file and view the content (which changes dynamically based on time and a few details fetched from our servers.

I would like to know if there is any settings on browsers that can block https:// requests from file:// urls?

It works by default, I am just concerned if there is any way users can do this. (browser settings, security zones or something like that)

I believe there is no code samples required for this.

发表于 用户: (340 分)
I can't follow the 2nd paragraph from the 1st paragraph. Why do you need to block HTTPS requests? Do your users suppose to download the HTML files?
发表于 用户: (340 分)
My guess is that the Asker doesn't need to, but is concerned about some setting that would prevent his app from working correctly, so he's asking pre-emptively.
发表于 用户: (140 分)
@Benjamin. Thats right. I am concerned if there is a way users can prevent file:/// urls to request resources from https:// urls

1个回答

欢迎来到 Security Q&A ,有什么不懂的可以尽管在这里提问,你将会收到社区其他成员的回答。
...