I am using a JSN file to store data from my markers and use it v3 version of a Google I'm sending to the map. Unfortunately, my entries (more 14.000+) are displayed in this JSON file and I need to encrypt the data so that the user does not show the contents of the file, because I do not want some users Can copy information about my entries.
How can I do this? At the moment, this is my code (without encrypting):
I have searched a lot of problems, but this is not available anywhere for my situation.
GoogleMap .php
& lt; Script src = "https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true&libraries= places" & gt; & Lt; / Script & gt; & Lt; Script src = "http://code.jquery.com/jquery-1.10.2.js" & gt; & Lt; / Script & gt; & Lt; Script src = "data.json" & gt; & Lt; / Script & gt; & Lt; Script & gt; Var script = '& lt; Script type = "text / javascript" src = "../ src / markerclusterer '; if (document.location.search.indexOf (' compiled ')! == -1) {script + =' _compiled ';} script + = '.js "& gt; & Lt; '+' / Script & gt; '; Document.write (script); & Lt; / Script & gt;
All information about my entries (name, latitude, longitude ...) is stored in my data.json .
You can blur your data, but you do not encrypt it for the purpose of protecting privacy Can do When the client gets encrypted data from the browser, then the browser should have a way of decrypting the data so that Maps can use API data. The customer will also need to be present to work for this. The user will be able to decrypt it with sufficient effort (not the brute force, rather the data combination). If the data can be decrypted then it is only an opacity mechanism.
It can only work with symmetric ciphers like AES. You can use for example.
No comments:
Post a Comment