Im making a program in C#, its kinda like a Tool Directory
When you first open the program it has a Form that pops up asking for a Username + Password, Then it connects to the MySQL Database and searches for it
Im wondering every person that uses my Program will they have to install the MySQL Connection Driver?
Also is it safe storeing my MySQL Infomation in the C# Program?, Carnt someone just decomplie it and take my Login Info
If they can ^^ How do you suggest i go about making a Login?
I practacly just want a Username :
Licence Key:
Remember Me : Yes / No
Thanks
In Advanced,
SirTech
Few Questions
Started by SirTech, May 31 2010 05:30 AM
2 replies to this topic
#1
Posted 31 May 2010 - 05:30 AM
|
|
|
#2
Posted 31 May 2010 - 05:34 AM
I think it's a SQL not MySQL Database, and no, they won't have to install the connection driver. (That in case you are not using MySQL witch would be weird because .NET has databases that you can use with ease). Except from that, everything is OK.
Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics
#3
Posted 31 May 2010 - 06:34 AM
Some questions i need to ask.
Is the database stored over remote system ?
If yes ,then only the system that hosts the database needs to have MYSQL OR SQL installed with the SQL Browser running as service.
You wanted security right?
You can encrypt the connection string to the database using DES / Md5 with a strong private key.
Try avoiding discrete sql instructions inside the code,donot write insert into ,select * & etc statements with your code as they can be viewable using .NET reflector.
Use Stored procedures along with functions.
Make strong name assembly.
Is the database stored over remote system ?
If yes ,then only the system that hosts the database needs to have MYSQL OR SQL installed with the SQL Browser running as service.
You wanted security right?
You can encrypt the connection string to the database using DES / Md5 with a strong private key.
Try avoiding discrete sql instructions inside the code,donot write insert into ,select * & etc statements with your code as they can be viewable using .NET reflector.
Use Stored procedures along with functions.
Make strong name assembly.


Sign In
Create Account

Back to top









