944,152 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 31213
  • C# RSS
Feb 9th, 2005
0

Username / password using C#

Expand Post »
Would it possible to have a form when you start a program that asks a username and password. Then the information sent to a server analised and compared to a database for approval to then show another form which then lets you use the program?
so basically you start xyz.exe
then your asked for : user / pass --> TCP/IP to private server --> interfaces with Mysql database --> finds the user / pass submitted --> then unlocks the program to let you use it.

I think the idea is feasble but would it possible to have this work with a MYSQL db? or maybe should it just wok with a text file.

What do you guys think?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
crypter is offline Offline
37 posts
since Jul 2004
Feb 14th, 2005
0

Re: Username / password using C#

Quote originally posted by crypter ...
I think the idea is feasble but would it possible to have this work with a MYSQL db? or maybe should it just wok with a text file.
It is possible to do what you are talking about but i am not sure though with a mysql database i would use SQL-Server if you can. I have heard of people using mysql but have also heard it is very difficult to get it to work right. Again these are things that i have heard not actually done. Hope that helps.

Also i wouldnt use a text document for security reasons. It is also considered bad practice to store information like that in a text document.
Reputation Points: 12
Solved Threads: 0
Light Poster
percent20 is offline Offline
33 posts
since Jan 2005
Feb 14th, 2005
0

Re: Username / password using C#

Sounds pretty logical! Well it is cuz i have web space and i have access to MYSQL and Postgre but i dont know much about postgre. Makes also sense to not store user/ pass in text doc. I was simply giving examplejust to make things clear.

But hey thanks for the reply! Hoopefully someone that has already done this can point me in the right direction also!
Reputation Points: 10
Solved Threads: 0
Light Poster
crypter is offline Offline
37 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Put your MouseDown in a ListBox (C#)
Next Thread in C# Forum Timeline: using functions





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC