如何在上传目录时删除Chrome中的警告消息 [英] How to remove warning message in Chrome when uploading a directory

查看:380
本文介绍了如何在上传目录时删除Chrome中的警告消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Chrome中使用 webkitdirectory 上传目录时,会显示一条丑陋的警告消息。消息显示:将[文件数量]文件上传到此站点?这将从[目录名称]上传所有文件。只有在您信任该站点时才这样做。



<这>最近刚开始使用Chrome版本66.0.3359.139。



有没有办法阻止此警告消息出现或者至少阻止它每次上传到同一站点时反复出现?



解决方案

这提示是一种新的安全功能。



以前,您可以对用户进行社交工程设计,并将其整个主文件夹上传到攻击者网站。没有选项或机制可以跳过它。



https:/ /crbug.com/637098


When uploading a directory using webkitdirectory in Chrome, there is an ugly warning message that appears. The message reads: "Upload [number of files] files to this site? This will upload all files from [directory name]. Only do this if you trust the site."

This started just recently in Chrome version 66.0.3359.139.

Is there a way to prevent this warning message from appearing or to at least prevent it appearing over and over for every upload to the same site?

解决方案

This prompt is a new security feature.

Previously you could socially engineer a user into holding enter and it uploaded their whole home folder to the attacker site. There is no option or mechanism to skip it.

https://crbug.com/637098

这篇关于如何在上传目录时删除Chrome中的警告消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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