By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,336 Members | 2,315 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,336 IT Pros & Developers. It's quick & easy.

Local hard disk backup of my application

P: 32
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
May 17 '07 #1
Share this Question
Share on Google+
1 Reply


pbmods
Expert 5K+
P: 5,821
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.
May 17 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.