Forum Moderators: open

Message Too Old, No Replies

Shell Script

         

MrGecko

9:10 pm on Jul 26, 2007 (gmt 0)

10+ Year Member



I'm wondering if there is a way to run shell scripts form javascript.

Bernard Marx

9:36 am on Jul 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This used to be possible in IE/Windows, using ActiveX. The user would have to accept a security warning. Since this level of security is easily clicked through accidentally, the situation has now changed. The user would have to manually lower their security settings manually. For all I know, later IE/Windows versions may make this utterly impossible.

If you want to leverage your client-side scripting knowledge in this area, I would recommend using an HTA (which your users wouldhave to choose whether to download).

Remember that you yourself wouldn't want a webpage to be able to have full access to your computer granted merely by your having clicked on somthing. Most people don't want their browser to be able to have priveleges, full stop.

MrGecko

11:01 am on Jul 27, 2007 (gmt 0)

10+ Year Member



Yeah... If only there where not hackers in the world... :) Thanks.