Jump to content

Few Questions

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
SirTech

SirTech

    Newbie

  • Members
  • Pip
  • 2 posts
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

#2
Davide

Davide

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 506 posts
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
gokuajmes

gokuajmes

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 518 posts
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.