nasa-jpl-memex / GeoParser

Extract and Visualize location from any file
Apache License 2.0
52 stars 23 forks source link

Store encrypted username password of an index in solr admin #78

Closed smadha closed 8 years ago

MBoustani commented 8 years ago

@smadha are we going to encrypt the username and password on front end and pass to backend, or encode in python side before store in Solr? I think encoding in front end using JavaScript would be better option.

smadha commented 8 years ago

hmm.. I think we should encrypt/decrypt on server side. We should create a secret key and store it on our server.

What say? @MBoustani

MBoustani commented 8 years ago

Yeah seems like is better to encrypt/decrypt on server side. https://www.stackfield.com/blog/cloud-encryption---client-side-vs-server-side-1

https://github.com/andrewcooke/simple-crypt

smadha commented 8 years ago

@MBoustani simple-crypt was very slow. I ended up using https://github.com/google/keyczar it's also recomended by simple-crypt

@chrismattmann