Gibraltar: Exposing Hardware Devices to Web Pages Using AJAX.

WebApps'12: Proceedings of the 3rd USENIX conference on Web Application Development(2012)

引用 8|浏览61
暂无评分
摘要
Gibraltar is a new framework for exposing hardware devices to web pages. Gibraltar's fundamental insight is that Java-Script's AJAX facility can be used as a hardware access protocol. Instead of relying on the browser to mediate device interactions, Gibraltar sandboxes the browser and uses a small device server to handle hardware requests. The server uses native code to interact with devices, and it exports a standard web server interface on the localhost. To access hardware, web pages send device commands to the server using HTTP requests; the server returns hardware data via HTTP responses. Using a client-side JavaScript library, we build a simple yet powerful device API atop this HTTP transfer protocol. The API is particularly useful to developers of mobile web pages, since mobile platforms like cell phones have an increasingly wide array of sensors that, prior to Gibraltar, were only accessible via native code plugins or the limited, inconsistent APIs provided by HTML5. Our implementation of Gibraltar on Android shows that Gibraltar provides stronger security guarantees than HTML5; furthermore, it shows that HTTP is responsive enough to support interactive web pages that perform frequent hardware accesses. Gibraltar also supports an HTML5 compatibility layer that implements the HTML5 interface but provides Gibraltar's stronger security.
更多
查看译文
关键词
web page,frequent hardware access,hardware access protocol,hardware device,hardware request,server returns hardware data,interactive web page,mobile web page,small device server,standard web server interface
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要