![]() |
2009-09-28
, 19:17
|
|
Posts: 2,669 |
Thanked: 2,555 times |
Joined on Apr 2007
|
#2
|
Okay. It's true - I had fun writing the thread title. But I also think it expresses what this thread is about, which is:
If you write an app that needs to talk to a database, hosted on a webserver, but you also want to release the code as open source.. what do you do?
I can think of a couple options:
- Somehow binaryize the connection information
- Write an HTTP based API
It crossed my mind that you could leave the connection info in there, but then I realised anyone with the code could just go postal on the database, so that's obviously out.
So what's the convention here? I don't want to have to close-source my app when it's done...
The Following User Says Thank You to zerojay For This Useful Post: | ||
|
2009-09-28
, 19:45
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#3
|
What exactly are you working on here? It's hard to give you advice without more context.
You could always just create a new user/table per app user, I suppose and restrict access so that only the user can affect data in his table.
|
2009-09-28
, 19:51
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#4
|
![]() |
2009-09-28
, 20:26
|
|
Posts: 1,605 |
Thanked: 1,601 times |
Joined on Mar 2007
@ Southern California
|
#5
|
The Following User Says Thank You to timsamoff For This Useful Post: | ||
![]() |
2009-09-28
, 20:30
|
Posts: 369 |
Thanked: 191 times |
Joined on Sep 2009
@ Virginia
|
#6
|
The Following User Says Thank You to Hogwash For This Useful Post: | ||
|
2009-09-28
, 20:44
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#7
|
The Following User Says Thank You to For This Useful Post: | ||
![]() |
2009-09-29
, 14:22
|
|
Posts: 103 |
Thanked: 44 times |
Joined on Sep 2009
@ Nashville, TN
|
#8
|
The Following User Says Thank You to jsuggs For This Useful Post: | ||
If you write an app that needs to talk to a database, hosted on a webserver, but you also want to release the code as open source.. what do you do?
I can think of a couple options:
- Somehow binaryize the connection information
- Write an HTTP based API (which would be slower and use more bandwidth
It crossed my mind that you could leave the connection info in there, but then I realised anyone with the code could just go postal on the database, so that's obviously out.
So what's the convention here? I don't want to have to close-source my app when it's done...
Last edited by code177; 2009-09-28 at 19:16. Reason: edited for grammar