In Progress

Create a JSON object in PHP. Obsfucate it. Save it to the server. Then open it in Javascript and de-obsfucate it.

Hi,

I have a php file that creates a JSON object then saves it to the file system.

I have a javascript program that then reads this file.

The problem is that all the data for my program is saved in a json object and therefore easily readable by anyone.

I would like the file saved on the file system to be obfuscated in some way.

This presumably will require obfuscating it in PHP and then de-obfuscating it in javascript.

The solution must work in as many browsers as possible.

Here is the basic source code.

The PHP File:

$phpData = array(
"apple" => "telephone",
"pear" => "typewriter"
);

file_put_contents("/myjson.json", json_encode($phpData));


The javascript file

$.getJSON( "/myjson.json", function( data ) {
...process data here;
}


So we just need to obfuscation and deobfuscation steps in between


The .json file is 650kb

Skills: Javascript, jQuery / Prototype, PHP

See more: json create mysql table, json create documentation, save javascript array server text file, create json file, json create file, jquery create select json, create select box json, create json file html, save open word document sql server visual basic, iphone create json request, json create div, create dropdown selectbox ajax json, javascript dragn drop save database, open source dynamic dns server, open source windows ftp server, javascript sql server 2005, open application javascript, open mysql javascript, javascript online draw save picture, open multibox javascript

About the Employer:
( 22 reviews ) Wokingham, United Kingdom

Project ID: #9843278

Awarded to:

tranngocanh1702

Hi, I am Anna. I have worked with PHP, Javascript, HTML for more than 3 years. I have worked on many library such as cryptography library in Java, PHP, Javascript.... For your project, I am able to handle it as More

£90 GBP in 3 days
(7 Reviews)
3.8

23 freelancers are bidding on average £139 for this job

KESHAVINFOTECH

Hi Thanks for your valuable time. :-) Just reply with 'Yes' and We will come up with a. Detail project plan with our comments/queries. b. Best-feasible-real COST & TIMELINE We will provide you a. Best More

£250 GBP in 15 days
(566 Reviews)
8.3
TopSEOExpertscom

Hi, Here's my id to implement obfuscation and de-obfuscation for your script. Let me know if you have any questions.

£130 GBP in 0 days
(232 Reviews)
7.8
uhjk

Hi, I'll save data as encoded, not plain. When retrieving data, I'll decode data by php script and it'll be readable only by php script. Not humans. I can do this in 1 day. Thanks.

£90 GBP in 3 days
(370 Reviews)
7.7
maxpl

Hi, We can discuss price and time frame for this project. I have 5+ years of experience in webdesign/ development, WordPress, OperCart, E-commerce, Mobile Development, SEO and I have done number of projects. I More

£236 GBP in 5 days
(29 Reviews)
6.6
TenStar718

Hello, and thanks for the opportunity to bid on your project. [url removed, login to view] I am an expert in many different area’s of web and mobile applications based on the following languages: P More

£157 GBP in 3 days
(114 Reviews)
7.1
dwa

Hello, I'm ready to assist. I've been thinking to do either certain encoding or obfuscating or other ways. But, I think the best way is: $.getJSON( "/[url removed, login to view]", function( data ) [url removed, login to view] will parse the More

£200 GBP in 3 days
(178 Reviews)
6.8
sukum

Hi, I can get the file to be encrypted. So only the PHP script and javascript code can read them. Regards, Sukum

£100 GBP in 3 days
(54 Reviews)
6.7
£200 GBP in 3 days
(26 Reviews)
6.0
cwearning

Hi, I read your project description and interest to know more information about your website work. I have time to start your project right now. Please don't hesitate to contact me. Thank you for consideration.

£100 GBP in 3 days
(35 Reviews)
5.6
ryonkol

Experienced WordPress developer here, can provide exactly what you need, can you show me the whole json object and why we are not saving it on database table, can we have a quick meeting to sort out all things? Thanks

£142 GBP in 3 days
(58 Reviews)
5.4
fingerout

Hello, I would suggest using encryption instead of obfuscation (which will always be easy to reverse). I can implement AES encryption. With this solution, the JS part can ask for password (or have password/key) hardco More

£52 GBP in 1 day
(5 Reviews)
5.2
flaproj

Hi, but the function that "de-obfuscates" in Javascript is readable by everyone. Right? All Javascript is readable, so you're not really hiding anything. Why isn't the page (which runs the Javascript) not doing an Ajax More

£135 GBP in 3 days
(13 Reviews)
5.2
ankasky

hi my priority is to provide a quality work and i am ready to start work in this project i am a software engineer i am good and experienced web designer/developer we can discuss more in chat

£94 GBP in 3 days
(51 Reviews)
5.3
nurakantech

Hi. Greetings. I have been working with Angular.js, Php/Php5, CI, Laravel, Css/Css3, Html/Html5, Ajax, Javascript, Jquery, Mysql for 4+ years now. I have been working with Node.js and MongoDB for over a year. Let More

£233 GBP in 10 days
(6 Reviews)
4.7
£150 GBP in 1 day
(10 Reviews)
4.5
eagleeyesvw

Dear, The requirements are clear and well understood by me as u explained well in project scope. Hope t provide it within less time than u require. I am available if you want me to start work on it. Looking f More

£66 GBP in 3 days
(50 Reviews)
4.5
kunashe

Hi! If at all possible may you please share the JSON file, also - may you please let me know if using a MySQL database is possible in obfuscating the data. Regards, Ku

£90 GBP in 1 day
(17 Reviews)
4.3
£142 GBP in 3 days
(5 Reviews)
4.3
bluewhaleindia

Hello, We have understood your project scope and we had done similar projects in the past. My name is Shubham and I work in the capacity of Business Development Manager and Solution Architect in Blue Whale Solutions. More

£139 GBP in 3 days
(10 Reviews)
4.7
avinashdchase

Hi, I CAN DO IT AS I HAVE DONE SIMILAR WORK BEFORE SO I HAVE CONFIDENCE TO COMPLETE THIS JOB WITH PERFECTION. i am an certified and experienced web developer with 8 year of experience. I already have done t More

£142 GBP in 3 days
(4 Reviews)
3.5