fanthos / WebApps

Android app to provide sandboxed (private) browsing of webapps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebApps Sandboxed browser Android app

screenshot 1 screenshot 2 screenshot 3

This Android app is a fork of the GoogleApps Sandboxed browser. The idea behind it is to provide a secure way to browse popular webapps by eliminating referrers, 3rd party requests, insecure HTTP requests, etc.

It accomplishes this by providing a sandbox for multiple webapps (like Google's apps, Facebook, Twitter, etc.). Each webapp will run in it's own sandbox, with 3rd party requests (images, scripts, iframes, etc.) blocked, and all external links opening in an external default web browser (which should have cookies, plug-ins, flash, etc. disabled). Homescreen (launcher) shortcuts can be created to any of the saved webapps.

By default, all HTTP requests are blocked (only HTTPS allowed). This improves security, especially on untrusted networks. In addition, WebApps will warn you if the SSL certificate of the site you're viewing has changed.

For using Google's suite of apps, try the GApps Sandboxed Browser app, which works the same as this app but contains specific handling for Google's web apps.

Features

  • Works like Mozilla Prism on the desktop. This is a mostly chrome-less browser that gets out of your way.
  • Completely full-screen browsing (auto-hiding actionbar)
  • Securely browse mobile sites (uses HTTPS only)
  • Blocks 3rd party requests (images/scripts/iframes) like the NoScript and NotScripts plugins on the desktop
  • Allows self-signed SSL certificates to be saved
  • Warns if server SSL certificate changes (e.g. during man-in-the-middle-attack)
  • User agent and text size setting (per site) allows more rich mobile experience (depending on site)
  • External links (outside the domain of the site visited) open in your default browser
  • Long-press links to choose how to open them
  • Create shortcuts to your webapps on the homescreen
  • Uses much less bandwidth than native apps (like Google+ app). No background sync'ing.
  • Features local data storage and caching for reduced bandwidth usage and better speed.
  • Fully open source software.

Cookies

Cookies are stored by Android's CookieManager, of which there is one instance per app. To avoid cookies from passing between sandboxes, the following has been implemented:

  • All cookies in the CookieManager are deleted when opening a URL or web app.
  • For saved web apps, the saved cookies are restored, and the app opened.
  • Cookies are only saved for the root domain of the saved web app, and made available to all sub-domains.
  • No 3rd party cookies are saved or sent. This may prevent some sites from working correctly.

In short, there is a strict cookie policy in place that ensures that cookies are correctly sandboxed, and that no 3rd party cookies are saved or sent.

Referer

Referer information is not send on any request (as per default behaviour of Webview), which may lead to problems on some sites, but improves privacy.

Storage

Plugins, and local file access are disabled, however DOM/local storage and app caching is allowed. There is only one cache for all sandboxes to share.

Location

The WebView's location access has been disabled, to prevent sites requesting your location.

Libraries

This project makes use of the following libraries/tools:

Development

To build this project:

  • Clone the git repository to your local machine (git clone ...)
  • Run ./build.sh to build an unsigned release APK

In order to develop in Eclipse:

  • Install the Xtend plugin for Eclipse
  • Clone the git repository to your local machine (git clone ...)
  • Inside the checked-out folder, run: gradle generateEclipseDependencies. This will download all the required 3rd party libraries and create Eclipse projects for them (if they are AAR dependencies).
  • Open Eclipse and import all projects and sub-projects within the checked-out folder
  • The project should now compile in Eclipse

To develop using Android Studio:

  • Install the Xtend plugin for IntelliJ
  • Clone the git repository to your local machine (git clone ...)
  • Import the project into Android Studio
  • The project should now compile (very first build may fail, a rebuild should fix this).

About

Android app to provide sandboxed (private) browsing of webapps

License:MIT License


Languages

Language:Xtend 98.5%Language:Shell 0.8%Language:HTML 0.7%