Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 18,654 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Text Based Database - No Need for the MySQL DL [Re: Michael_Schwarz] #91414
09/27/06 21:59
09/27/06 21:59
Joined: May 2006
Posts: 25
A
Albert Offline
Newbie
Albert  Offline
Newbie
A

Joined: May 2006
Posts: 25
I say, "Create the Text Database", because its
1.) An awesome project to work on and finish
2.) It does have many real world uses (in video games)
3.) Its definitly an accomplishment
4.) And it would work well while you are in a testing phase for a much large scale release.

But in any case, you can't really beat an SQL server for reliablity or scaleability (or any of its siblings - Oracle etc...)

Imagine in a text file, delimiting it by a comma or a tab or pipes or a string, "!$%!&$&*%($!" Now, imagine that you have 3,000 records.

Now, picture this, someone registers or enters some kind of text that is the delimiter, now the entire database is essentially corrupted, unless you can find where the delimiter has been entered. Kinda scary.

Of course, preventative measures could be done to protect against this. So when you are coding this system, make sure you check that the input does not contain a delimiter.

I just wanted to throw that out their, Even though I might sound like an ass, I'm really looking forward to this when its finished.

Re: Text Based Database - No Need for the MySQL DL [Re: Albert] #91415
09/29/06 00:39
09/29/06 00:39
Joined: Aug 2002
Posts: 572
Toronto
MadMark Offline
User
MadMark  Offline
User

Joined: Aug 2002
Posts: 572
Toronto
Doesn't sound foolish to me. What you have described is a classic "invalid input" vulnerability. If you wanted to kill a database, the same is true. Find out what the format for field delimiter is, and use it in your input (in SQL you can add special characters to a query that can over-write the entire database! That is called an "injection") and write multiple records at one write.

Good advice to restrict your inputs, AND to check the length of your inputs, AND to validate that it is only reading/writing a single field.

my 2ยข
Mark


People who live in glass houses shouldn't vacuum naked.
Re: Text Based Database - No Need for the MySQL DL [Re: MadMark] #91416
10/03/06 16:11
10/03/06 16:11
Joined: May 2006
Posts: 25
A
Albert Offline
Newbie
Albert  Offline
Newbie
A

Joined: May 2006
Posts: 25
How is this going? I'm curious for updates.

Page 2 of 2 1 2

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1