Jump to content




CcSQL (API for MySQL)


9 replies to this topic

#1 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 23 March 2014 - 06:45 PM

CcSQL is an API you can use to connect to REAL MySQL databases.
You need this JSON API and my CcSQL.


usage

Bugs


#2 gknova61

  • Members
  • 74 posts

Posted 02 April 2014 - 11:34 PM

Can you release PHP source?

#3 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 03 April 2014 - 09:16 AM

View Postgknova61, on 02 April 2014 - 11:34 PM, said:

Can you release PHP source?
Oh, yea... forgot that xD
The PHP script is as simple as this.

BTW,
Spoiler


#4 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 03 April 2014 - 10:52 AM

not a huge fan, I like what you're trying to do, but you might want to work on security issues; I'd not overly trust the data I store in my databases to be 'safe' in this case.

#5 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 03 April 2014 - 11:21 AM

View Posttheoriginalbit, on 03 April 2014 - 10:52 AM, said:

not a huge fan, I like what you're trying to do, but you might want to work on security issues; I'd not overly trust the data I store in my databases to be 'safe' in this case.
Yea, that's true. But how should I improve the security? D:

#6 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 03 April 2014 - 11:51 AM

first and foremost take a look into prepared statements for the PHP side of things.

#7 Shazz

  • Members
  • 175 posts

Posted 07 April 2014 - 09:07 PM

I'm not exactly sure what the purpose of this is.
Are you trying to publish a program people can use to access a MySQL database on your server?
Or are you trying to provide people with a PHP script that they can put on their server so they can communicate with their database?

In either case, this implementation is very insecure.

#8 Parzivail

  • Members
  • 19 posts
  • LocationThe USA!

Posted 08 April 2014 - 11:44 AM

View PostFreack100, on 03 April 2014 - 11:21 AM, said:

View Posttheoriginalbit, on 03 April 2014 - 10:52 AM, said:

not a huge fan, I like what you're trying to do, but you might want to work on security issues; I'd not overly trust the data I store in my databases to be 'safe' in this case.
Yea, that's true. But how should I improve the security? D:
Write an encryption library!

#9 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 08 April 2014 - 01:52 PM

View PostShazz, on 07 April 2014 - 09:07 PM, said:

I'm not exactly sure what the purpose of this is.
Are you trying to publish a program people can use to access a MySQL database on your server?
Or are you trying to provide people with a PHP script that they can put on their server so they can communicate with their database?

In either case, this implementation is very insecure.

If people setup their MySQL server right, you can access it from my script. But I made this as a connection between computercraft and a MySQL server (not exactly mine).

View PostParzivail, on 08 April 2014 - 11:44 AM, said:

View PostFreack100, on 03 April 2014 - 11:21 AM, said:

View Posttheoriginalbit, on 03 April 2014 - 10:52 AM, said:

not a huge fan, I like what you're trying to do, but you might want to work on security issues; I'd not overly trust the data I store in my databases to be 'safe' in this case.
Yea, that's true. But how should I improve the security? D:
Write an encryption library!

How would it improve the security?

#10 Shazz

  • Members
  • 175 posts

Posted 08 April 2014 - 08:20 PM

View PostParzivail, on 08 April 2014 - 11:44 AM, said:

Write an encryption library!

It's a horrible idea to write your own encryption algorithm. I can understand it if you are writing one just for experimenting but homebrew encryption algorithms for use in a production environment is a bad idea.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users