View Single Post
Old 10/31/2009, 05:06 AM   #4 (permalink)
rwhitby
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,219
Likes Received: 545
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

A mechanism that allowed a webOS app to run any shell command it wanted to would be a HUGE security hole.
You need to write a service which does exactly and only what you need it to do, and carefully review it so that it doesn't open up any security vulnerabilities.
See git.webos-internals.org for example services.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote