How can I check if --allow-file-access-from-files

2019-09-02 16:03发布

How can I check if --allow-file-access-from-files is enabled or not? Is there any command on cmd or a checkbox on chrome's configuration?

I followed the steps to enable --allow-file-access-from-files but I am not sure if I really did it. And after I finish my work, how can I disable it to prevent security issues?

1条回答
Luminary・发光体
2楼-- · 2019-09-02 16:49

You can view the flags that Chrome is currently using by visiting chrome://version

However, this flag is not safe. Depending on your use case, you should consider something like a local server using python -m SimpleHTTPServer 8000 to serve your page for testing.

查看更多
登录 后发表回答