1

(12 replies, posted in Script)

Teco049:

Im just writing a database that can be used by our division and region. Its about computer inventory, a simple database program that can be distributed via usb without install. Lets say hundreds  of public schools will be using the final product. Im still new to MVD, and im using the shareware.. I know nothing about programing except vb6. Somehow i do understand how the script works by downloading n reading the samples.

I tried to secure the mysql connection line from end user to our hosting company. That's my first thing to do. Little by little, i succeeded to embed the \script\script.dcu and forms.xml to the main exe files. This is enough for me for now.. Im using "VMProtect Ultimate", there's a lot of stuff you can do the program and for me its perfectly good to use along side with MVD.

I still have a lot of question of how MVD works but thats coz another thread to start. Hopefully i can finish the program ASAP. and they approve my proposal to purchase a licensed copy. I am in educational sector, Hopefully the author will offer discounts to educational institution :-). This is a good program.. Thanks Dmitry... hopes you grant my request...

2

(12 replies, posted in Script)

Guyz:

I think i just found the solution to protect the MySQL Database from unauthorized access by reading deeply into the script.dcu and forms.xml
What i did is link the MySQL server login information to the label then embed the forms.xml to exe file. I used another software to embed the forms.xml to exe file. I tried to embed the script.dcu but im having an error since its reside inside the script folder.

Here's the link of the file.. Please take your time to view if this thing really works. Dont worry its nothing in there, txtbox are not even connected to the database. But it shows the message connecting to MySQL Server..

https://drive.google.com/open?id=0Bzbqq … 29ycVh5QlU

Special thanks to Teco049, Ehwagner and mathmatho. Let me know if there still chance to view the MySQL Server login information coz its very important for all of us.

3

(12 replies, posted in Script)

Teco049

But still its a little better than the default setting.
I guest for now all we can do is wait until its embed in exe file.

4

(12 replies, posted in Script)

Guys:

Ehwagner trick works, at least we can hide the MySQL Information a little bit.
My code goes like this

frmMain.MySQLConnection.Server := frmConnect.label2.Caption;
frmMain.MySQLConnection.Port := StrtoInt(frmConnect.label3.Caption);
frmMain.MySQLConnection.Username := frmConnect.label4.Caption;
frmMain.MySQLConnection.Password := frmConnect.label5.Caption;
frmMain.MySQLConnection.Database := frmConnect.label6.Caption;

I hope in future the script.dcu be embedded in .exe file.

Thanks Ehwagner for sharing your idea..

5

(12 replies, posted in Script)

Hi Ehwagner:

Can you send me a sample file of what you did. I do understand the line you had posted but i dont know how to call it in script.
Thank you very much for your time.

6

(12 replies, posted in Script)

Tcoton:

You're right i peek at script.dcu.. all information about MySql Server is there.

Again back to my question, to those experienced user of MVD, how do you prevent this in your apps distribution.

7

(12 replies, posted in Script)

Mathias:

Last time I tried i erase the entire folder :-)
I erased the script.pas then it works!
Thank you very much....

Robinx

Hi:

Im currently evaluating the My Visual Database by creating a program that would justify my reason to purchase the software. By reading previous post here, I manage to create a simple program using MySQL. I connect to the server using the script which i also found in this forum.

Is there any way to encrypt or hide the script.pas, to protect the Database from unwanted connection.

i just want to avoid the user from accessing this line:

     frmMain.MySQLConnection.Server := '111.###.###.###';
     frmMain.MySQLConnection.Port := 3306;
     frmMain.MySQLConnection.Username := '#####';
     frmMain.MySQLConnection.Password := '#########;
     frmMain.MySQLConnection.Database := '#######';

9

(6 replies, posted in General)

Do you have new link for this project. The link is no longer available.