如何在地址栏中禁用另存为选项 [英] How to Disable Save As option in address bar

查看:62
本文介绍了如何在地址栏中禁用另存为选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨......

如何在弹出窗口的地址栏中禁用Ctrl + S选项..我已在弹出窗口中禁用了该菜单,但它在该页面中起作用..在地址栏中显示了另存为"选项. Chrome和Firefox.在IE中,它的工作正常,地址栏未显示,因此没有问题,但是在Chrome和Firefox中,我必须将其禁用....


谢谢

Hi....

How to disable Ctrl + S option in popup window address bar.. I have disabled in popup window but its working in that page.. In address bar the Save As option is displayed.. Otherwise any one tell me how to disable address bar in Chrome and Firefox. In IE its working fine, the address bar is not displaying so no problem but in Chrome and Firefox I have to disable it....


Thanks

推荐答案

您不能.如果没有其他要求,用户将始终可以选择查看源代码"或在WebBrowser控件(具有HTML输出)中打开网页,而不是真正的浏览器.

面对事实:您不能阻止人们以他们想要的任何方式查看您提供给他们的任何数据.如果需要安全保护,则无需显示它,或改为控制访问.
You can''t. If nothing else, the user will always have the option to "View Source" or open your web page in a WebBrowser control - which has an HTML output - instead of a true browser.

Face facts: you can''t stop people looking at any data you present to them, in any way they want. If you need it secure, you need to not present it, or control access instead.


这篇关于如何在地址栏中禁用另存为选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆