Obfuscation of .json files

139 views
Skip to first unread message

C C

unread,
Aug 16, 2019, 4:25:39 PM8/16/19
to mongodb-user
I'd like to use MongoDB to serve .json files. MongoDB currently support a a beta version of field level encryption, but I am trying to obfuscate and not encrypt.  These files are mainly models and fairly large in size; 8MB or so. Does mongoDB support some level of obfuscation so when a client/customer inspects the .json file in dev tools; he doesn't receive the raw model, but rather a obfuscated model (through some type of binary conversion and/or field renaming)? 

I understand obfuscation is not the acceptably way of protecting Intellectual property, but it would be some type of protection nevertheless.

Abhinav Kumar

unread,
Aug 16, 2019, 8:53:25 PM8/16/19
to mongod...@googlegroups.com
Please be a bit more specific about the dev tools you are talking about and would you also need to de-obfuscate the model. 

On Sat, Aug 17, 2019 at 1:55 AM C C <birat...@gmail.com> wrote:
I'd like to use MongoDB to serve .json files. MongoDB currently support a a beta version of field level encryption, but I am trying to obfuscate and not encrypt.  These files are mainly models and fairly large in size; 8MB or so. Does mongoDB support some level of obfuscation so when a client/customer inspects the .json file in dev tools; he doesn't receive the raw model, but rather a obfuscated model (through some type of binary conversion and/or field renaming)? 

I understand obfuscation is not the acceptably way of protecting Intellectual property, but it would be some type of protection nevertheless.

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/16f2ca28-8b7e-48f5-a19e-a91246d10b4f%40googlegroups.com.

Stennie

unread,
Aug 19, 2019, 6:07:24 AM8/19/19
to mongodb-user
On Saturday, 17 August 2019 06:25:39 UTC+10, C C wrote:
I'd like to use MongoDB to serve .json files. MongoDB currently support a a beta version of field level encryption, but I am trying to obfuscate and not encrypt.  These files are mainly models and fairly large in size; 8MB or so. Does mongoDB support some level of obfuscation so when a client/customer inspects the .json file in dev tools; he doesn't receive the raw model, but rather a obfuscated model (through some type of binary conversion and/or field renaming)?  

I understand obfuscation is not the acceptably way of protecting Intellectual property, but it would be some type of protection nevertheless.
 
Hi,

What are your goals in terms of obfuscating your data structure?

If your application is returning data in JSON documents, presumably that application would also have the logic to de-obfuscate the JSON so it is usable. If you are aiming to protect IP, obfuscation of the data structure isn't providing any real protection from a slightly motivated user who wants to decode your documents. I think you'd really want encryption or some sort of digital signing to prevent source documents from being used without permission.

Document obfuscation isn't a MongoDB server feature, but you could perhaps implement some protection in your own application/API.

However, I think this topic is generally best discussed in a programming forum like Stack Overflow or Software Engineering Stack Exchange.

Stack Overflow questions are better received if you can include code examples for what you've tried. The Software Engineering Stack Exchange has a smaller audience but might be more receptive to a question about how to approach a solution (as long as you can describe what success looks like).

Regards,
Stennie
Reply all
Reply to author
Forward
0 new messages