Using Ruby on Rails is it possible to perform external functions on the client side?

Asked

Viewed 186 times

0

Example: On the computer that is with the browser accessing the page, with the proper permission, run a function in a DLL installed in it?

Complementing: My intention was to use on an intranet, and access a printer using the DLL provided by the same manufacturer

  • 1

    Most likely you: a) don’t need to call a native dll for what you want to do or b) what you want to do can’t be done over the web. Whatever the case, we can help a lot better if you tell us what the intention is.

  • Take a look at [tour]. You can accept an answer if it solved your problem. You can vote on every post on the site as well. Did any help you more? You need something to be improved?

1 answer

1

Not possible using any language and virtually any technology.

I say this almost because it is always possible for someone to install something that goes over a fundamental restriction in a browser. But don’t count on it. And if you convince someone to install something that leaves them vulnerable, you still have to provide this technology. That is, use another solution.

Do things to web, contrary to what many people think, really is not the solution to all problems.

  • Ok Maniero, my intention was to use on an intranet, and access a printer using the DLL provided by the same manufacturer.

  • As I said, not all problems should be solved with applications web. If you need to do this, make an application desktop, the most correct. Or do a service to install locally on the client so that the page can communicate. But note that this will not be related to the application running on the server. It will be a nice gambiarra because you think that all problems are nails.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.