Comments (6)
If the string is random though we won't be able to track the same device between different sessions. Should we not use a one-directional hash (or something of sorts) instead?
from cusp_sonyc_wifi.
Hmm the idea we came up with was to safe the random string to the user's phone in a text file and then just pull that whenever we would have used the mac address of the phone instead. That way we do not need to ever even deal with the phone's mac address and we'll still have a way to uniquely identify the phone (unless the user deletes the file).
from cusp_sonyc_wifi.
What if the user does delete the file? More to the point, what if the user deletes and re-installs the app (something that is likely to happen as we iron-out bugs and add features)?
I'm not an expert, but creating a one-way hash in python should be fairly straight forward no?
https://exyr.org/2011/hashing-passwords/
http://www.pythoncentral.io/hashing-strings-with-python/
from cusp_sonyc_wifi.
Right, if the user were to delete that text file a new string would have to be generated. Deleting the app would have no affect on the process going about it the way I had in mind though. In any case, I see your point and it looks like using a Hash is a better idea. I wouldn't want to do it in Python though. I would do it in the Java so we are never sending up the Mac address of the phone at all.
from cusp_sonyc_wifi.
yes sorry, i was thinking of a different project when I mentioned python. It should be done natively in the app of course (so yes, Java). I guess Oz is making me think upside down :P
from cusp_sonyc_wifi.
One way hash used as a replacement for mac address. Nice 1!
from cusp_sonyc_wifi.
Related Issues (20)
- Pull time data in UTC or human readable or both HOT 1
- Add in disclaimer to app
- Create mysql DB on linux machine HOT 1
- Type error message HOT 1
- API add option to return subset of db columns
- Ensure data upload from app is working HOT 2
- Get server ready as web server
- API doc
- Remove measurement averaging
- Pull data using API for viz
- Add dropdown boxes to web interface
- Add unique ssid/security protocols pull function
- Create icon for app HOT 4
- Add zip code request field on Weebly site HOT 3
- Invalid JSON upload error HOT 2
- Uploading Bug
- Cohort email
- Project website
- Doesn't record data if there is no access point.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cusp_sonyc_wifi.