FC Jesse
FC Jesse

Reputation: 3

Can I execute a local program from a Chrome Plugin?

I want to make a Chrome plugin that checks if mencoder.exe is present on the clients system. And if so, convert files with it.

Is that possible?

If not, can I make something like that in a Java applet or something? I'm open to suggestions!

Upvotes: 0

Views: 443

Answers (2)

Gabriel
Gabriel

Reputation: 117

You can do it using java applet (like Laerte said), but implementing a policy is not the only option. May be it is easier digital signing (info) your applet with respective attributes in Manifest.mf (here and here) and wrapping your SO access source lines with this. In this way, you can distribute your applet without modifying client systems.

Upvotes: 0

Laerte Sousa Neto
Laerte Sousa Neto

Reputation: 160

It is possible with java applets, but you also need to implement a permission policy into the program. Here are two tutorials you should take a look at:

Java applets:

http://docs.oracle.com/javase/tutorial/deployment/applet/

Implementing Policy:

http://docs.oracle.com/javase/tutorial/security/userperm/policy.html

Upvotes: 1

Related Questions