Our public API (ruby) saves JSON assets to an Amazon S3 bucket. Those assets are showed to our users through a javascript reader.
Our customers would like to have those assets obfuscated. I'm currently looking into some workflow to:
- Obfuscate in ruby
- Save it on S3 (with Paperclip)
- Deobfuscate in javascript
The point (2) is pretty much figured out as I can create a new style and use a processor with Paperclip.
For the (1) and (3) I'm struggling to find a working solution that won't be too easy to be reverse engineered.