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?
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.