Prevent root access to my application files

I have created a webview application to run a web application on an android tablet with the intent of viewing certain documents. This collection of documents is the basis of the application that I am writing so if everyone could see and copy the files, it would defeat the purpose of what I am trying to do. So far, I have converted the documents into a HTML format and put them into the assets folder of my application project. This should stop general access to these files.

However, I have learned that rooting your android device could grant you access to these files. This really does need to be overcome somehow. Is there a way to prevent root access to these files or is there a more secure way of storing these files?

The tablet I am currently using to develop has Android 2.2 although I may update this at a later stage.

I am also using Eclipse to develop the application.


-------------Problems Reply------------

Encryption is the only way to prevent the usage as best as possible. The root can see and touch everything but he can't use the files if they are encrypted.

I do that for a customer application, too.

I have been in the software industry for over 30 years, and I know it is suicide to go down the track of this "protect it at any price". Encryption does not help, it is just a better challenge to hack it and will attract more people trying. Spend time, money and efforts on marketing the software instead.

Category:android Views:0 Time:2012-02-08

Related post

  • How do I prevent public access to php include files? 2011-10-12

    Possible Duplicate: APACHE, prevent users from accessing include files? How do I prevent public access to php include files? Let's say that I have a header.php, footer.php, a folder with multiple include files and I don't want users to access them di

  • Prompt for root access in cocoa application 2011-05-20

    I want my program to begin with a prompt/alert that asks for root access. The user must enter their password, and then the application follows. I've been looking around, but I'm not exactly sure how to do this. You help is greatly appreciated. Thanks

  • Prevent Direct access to dynamically created file 2011-12-08

    I have a jsp file that generates some files at runtime, which are also used by swfObject in another page. But i want to prevent the direct access to those files from browser. Since my files are generated at runtime of my jsp s, i don't know how to co

  • prevent php access and include for files in parent directory 2011-12-07

    is it possible to prevent php from including or accessing files which are below a certain directory via htacces or something else? In this case both User 1 and User 2 have direct access to their folder via FTP but unfortunately I cannot provide them

  • Prevent the access from copying a file when other resources are using it 2009-09-24

    In my application, i have one exe file that will do some conversion on my videofiles in a directory, and also i have used cute ftp to transfer the files present in the directory to another server. CUTE FTP is configured to be run on every mins. When

  • Prevent direct access of downloaded file in CI 2009-12-22

    How to prevent direct access to my download file using CodeIgniter. Supposed I stored all of my file in application/secretdirectory/file1.jpg application/secretdirectory/file2.text application/secretdirectory/ usually, I create direct link t

  • mod_rewrite: allow redirect but prevent direct access 2011-04-24

    I am currently using mod_rewrite to do an internal redirection RewriteCond %{REQUEST_URI} ^/pattern$ RewriteRUle .* file.php However I would like to prevent direct access to file.php by redirecting requests to that file to a page not found URL. Rewri

  • Compiling FFTW without root access 2011-08-10

    my boss is in vacation and I would really like to compile the FFTW library from on a Mac OS X . The problem is, I don't have root access to install the files in the root directories with make install. Is there any possibility to

  • PHP: Defining a Constant to Prevent Direct Access 2012-03-02

    I want to prevent direct access my install.php file, unless the user has gone through the steps of filling information and submitting the form. install/index.php: define("ACCESS", true); // HTML form to take to install.php install/install.php: if (!d

  • In a web application (war) I have a config text file. How to prevent web access to it? 2010-03-17

    In a servlet I have a config text file. How to prevent web access to it? So that only servlet code can get access to it? It is not encrypted and lays in the subdirectory of WebContent. --------------Solutions------------- Anything under WEB-INF canno

  • Prevent direct access to a php include file 2009-01-03

    I have a php file which I will be using as exclusively as an include. Therefore I would like to throw an error instead of executing it when it's accessed directly by typing in the URL instead of being included. Basically I need to do a check as follo

  • Virtualbox and Ruby on Rails application : How to access to the application's files 2011-03-29

    New to webdevelopment and virtualization I just installed the Ruby On Rails Turnkey appliance on my computer using Virtualbox. The installation was easy but there is one thing the newbie I am do not understand. Via Vista's Explorer I just can't find

  • Why should I prevent direct access to PHP files that do not echo anything? 2011-07-03

    For an example if I have a mail script or a script that writes to a database - scripts that do not echo anything important (other than a thank you, or an error message), but do a lot of important back-end work. What could the possible security concer

  • Prevent Direct Access To File Called By ajax Function 2009-11-18

    I'm calling the php code from ajax like this:"GET", "func.php" + queryString, true); Since it's a get request anyone can see it by simply examining the headers. The data being passed is not sensitive, but it could potentially be abu

  • Root access in file explorer 2011-07-04

    I'm writing a file explorer which will be capable of modifying system files with root access, but I came across some problems. What I'm doing now is to grant my app root access, but executing "su" doesn't work. If I set permissions to the folder in a

  • how to use a external database in my application without root access? 2011-08-23

    we all know the android system database should be stored in /data/data/package name/ directory,there is a existing database i want to use in my application. some people might tell me just put the orginal database in the /res/raw/ directory,and then u

  • Prevent direct access to a file, allow google doc viewer 2011-10-28

    I have a folder with pdf files and I want to prevent direct access but allow google doc viewer to display the file. I tried .htaccess, changing linux permissions and nothing worked fine (Direct access is forbidden but I get this when viewing with doc

  • Can I use .htaccess to prevent direct access to files on dynamic folders? 2012-03-27

    I found a couple of answers where users are using htaccess to prevent direct access to some files (by using the name, extension, or folder where they are). I'm trying to do the same but in my case, I have a script that creates subfolders dynamically

  • iOS 6.0 and up to max : How can i give root access to my own application. iPhone is jailbreak 2013-10-22

    I am new in iPhone.I am developing iPhone application. My iPhone is jailbreak, I want to use a message history from my jailbreak device. But i can't used that message history. So I want to give root access permission to my application for access SMS

Copyright (C), All Rights Reserved.

processed in 0.192 (s). 11 q(s)