Connecting Netdruino to MySQL db
Posted 17 June 2011 - 11:29 AM
Posted 17 June 2011 - 12:37 PM
- newfierich likes this
Posted 17 June 2011 - 01:15 PM
There isn't really a good way to do this directly, as any full MySQL driver would probably take up most of the RAM and flash, however you could write a sort of REST API and tie the Netduino to that. Keep in mind, I would consider such a system to be highly insecure, due to the risk of someone unauthorized getting in to said REST API and either dumping or dropping the tables.
A better option would be to expose any functionality you need through such a REST API and then secure upon that. This means that full MySQL queries can not be injected.
Thanks, Like you said I guess I will have to come up with something on the server side. I didn't know if there were any light weight libs, but I guess not.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users