Connecting Tech Pros Worldwide Help | Site Map

Local hard disk backup of my application

Member
 
Join Date: Aug 2006
Posts: 32
#1: May 17 '07
Hi Guys,

I am working in a digital signage software where user can display ads in the LCD screen.MyApplication is running PHP & MySQL.

Right Now users are accessing my Application through internet.But we planned to give 'local Hard disk' backup , where user can download my application to their local hard disk and run their application locally.

I planned to implement like this:

I will allow users to download my application as a .zip file - contains HTML code(contain Ad details) and 1 image directory(.gif,.jpg files).when user execute this html file it will display ads(image files) locally.

I am afraid that users can view the source code of my application(HTML and javascript sources) in HTML file .I am looking for any alternate implementation


But Is there any other way where i can implement the same functionality or i proceed in same manner(specified above).I Don't have lot of web technolgy knowledge

I am looking for some help from you guys

A.suresh
pbmods's Avatar
Site Moderator
 
Join Date: Apr 2007
Location: Texas
Posts: 5,435
#2: May 17 '07

re: Local hard disk backup of my application


Quote:

Originally Posted by suresh_nsnguys

I am afraid that users can view the source code of my application(HTML and javascript sources) in HTML file .I am looking for any alternate implementation

Your Users can always view the source of your HTML/JavaScript regardless of where you keep it; the browser will download the file into the User's cache if it is not local.

You might try obfuscation; it's not perfect, but it does make your source harder to read. Here are some links:

http://www.stunnix.com/prod/jo/
http://www.ioncube.com/html_encoder.php

As a sidenote, I'm usually not too concerned with hiding my client-side stuff. 99% of the really proprietary stuff is usually server side (and Zend Guard can help protect that), and the cooler the client-side stuff is, the more free viral marketing you get among developers.
Reply