I have asked a similar question to this previously
- What Does Chrome Needs Storage Access To Download Files Mean
- Chrome Needs Storage Access To Download Files On Android
- This API has been optimized to meet the specific storage needs of extensions. Your app's content scripts can directly access user data without the need for a.
- Jun 15, 2017 Why does Google asking for permission with my privacy. I was just trying to browse a phone number I need. Re: Chrome needs storage access to download files update permissions. Zarah - Community Specialist: 6/17/17 7:41 AM: Hi Jigo, Welcome to the Google Chrome Help Forum.
However the question was very vague and I now know what I require is possible using an extension.
This question is similar to the following, however, not quite the information I need.
Jan 30, 2019 - In general, the fact that you use Chrome to access Google services, such as Gmail. Records of your downloads, although the files you download will still be. Some add-ons might require access to a unique identifier for digital rights. Including those on CD-ROM, DVD-ROM or other storage media.
What I effectively need to do is run a bat file on the users computer from my website. The users of the site will be employees of the company and the computers they will be using will be provided by us, therefore I can make any necessary changes to the machines for this to work before shipping to the user.
I understand that you can create a local folder on the computer that you can allow chrome to have access to, therefore maintaining security. I have searched for how to do this but cannot seem to nail down what I need to search for and this in particular is where I need help.
Financial accounting spiceland 3rd edition pdf download. I have not yet built an extension but I am willing to take on the challenge so I do not need help with this side of things. The two guides below seem more than ample.
This is where I am currently at.
What I need to achieve next is to create a command to call the extension, the extension then to navigate to the local folder that chrome can access to and then execute a batch file. Xbox 360 advanced warfare digital download1.
I realise I could work around the need for the chrome folder by using the npapi plugin
However, this is apparently a potential minefield so I would not like to do this.
If someone can point me in the right direction of how to create the folder and access the file, this would be most appreciated.
Community♦
What Does Chrome Needs Storage Access To Download Files Mean
The Humble RatThe Humble Rat
3 Answers
You are going to need to write a Chrome extension that exposes an API to your website. This is the easy part. You inject a content script to your website, and then use
chrome.extension.sendMessage
to communicate back to your extension.The hard part is to actually open the
bat
file from your extension. With NPAPI, this would have been easy, since you could just write a C++ plugin that calls CreateProcess
or something. Contrary to what you said, it's a pretty good solution. But unfortunately, NPAPI isn't an option, since it's being deprecated.So what you should do is to use Native Messaging. Basically, it's a Chrome API that allows extensions to exchange messages with native applications using standard input and output streams.
Read more about it here:https://developer.chrome.com/extensions/messaging#native-messaging-host
Community♦
Alon GubkinAlon Gubkin
Chrome Needs Storage Access To Download Files On Android
- If you have access to the machines where your product is deployed, you can use NaCL and start chrome with
--no-sandbox command-line
flag and use the following environment variable: Lee goldberg author.set NACL_DANGEROUS_ENABLE_FILE_ACCESS=1
More info on this blog - The other option is NPAPI.
Kaushik WavhalKaushik Wavhal
It's not allowed for security reasons.If running a .bat file was allowed, it would allow malicious commands to be run on the computer.
Dinh Viêt HoàDinh Viêt Hoà