Login system

Posts 115 of 45 · Page 1 of 3
Login system
I am done my login system in c#. But i only can logged in successfully in my own computer which the sql server also installed on my own computer.
After that, i copy my application to other pc to try log in. But failed to log in although log in with correct username and password..
Anyone can help me?
Change the host name from localhost
xD If that happened you don't deserve a login system.

But seriously I'd recommend running a php script, That way everything is done on a server.
Quote Originally Posted by Silent View Post
Change the host name from localhost
xD If that happened you don't deserve a login system.

But seriously I'd recommend running a php script, That way everything is done on a server.
How to change the host name from localhost
Quote Originally Posted by darkersideXxX View Post
How to change the host name from localhost
I was saying that as a joke.... But if you don't know how to change the host your connecting to, you definitely should be reading a book on the extreme basics to programming in any language.
You'll need to host the database online, or make it so your user can connect to it somehow.

- - - Updated - - -

Quote Originally Posted by Silent View Post
Change the host name from localhost
xD If that happened you don't deserve a login system.

But seriously I'd recommend running a php script, That way everything is done on a server.
You can also run C# on a server. I find it easier to make web applications in C# rather than PHP.
Quote Originally Posted by NotCarlsson View Post
You'll need to host the database online, or make it so your user can connect to it somehow.

- - - Updated - - -



You can also run C# on a server. I find it easier to make web applications in C# rather than PHP.
php is faster then .NET And easier
Quote Originally Posted by Silent View Post


php is faster then .NET And easier
It's all down to personal peference I believe.
Username and password in .Net app ;?
It is quite easy to decompile it
I use .php responses
It is much safer because all login data stays on your server instead someone s pc.
Quote Originally Posted by Zaczero View Post
Username and password in .Net app ;?
It is quite easy to decompile it
I use .php responses
It is much safer because all login data stays on your server instead someone s pc.
Sure, the application would be easy to decompile but obvisoly you would not store sensetive data in your program.
You would hash the passwrod in the database, and just use and webAPI to communicate.

Just take a look at this https://msdn.microsoft.com/en-us/library/ms178329.aspx

Working with asp.net and entityframe work is a dream.
All i did were making a drop box database. :-)
easy to crack, but works perfectly, just search on youtube if you're interested. i made a tutorial.
Quote Originally Posted by darkersideXxX View Post
I am done my login system in c#. But i only can logged in successfully in my own computer which the sql server also installed on my own computer.
After that, i copy my application to other pc to try log in. But failed to log in although log in with correct username and password..
Anyone can help me?
You could try to get your sql in an online server instead of a localhost. Then simply change the path and it should be fine.
Quote Originally Posted by deep View Post
You could try to get your sql in an online server instead of a localhost. Then simply change the path and it should be fine.
Or use php scripts and make it A LOT more secure.
Quote Originally Posted by deep View Post
You could try to get your sql in an online server instead of a localhost. Then simply change the path and it should be fine.
That would work, but that's also how you get your database or the entire server compromised or even stolen.
Quote Originally Posted by Silent View Post


Or use php scripts and make it A LOT more secure.
OR just ASP.net and just make an API
Quote Originally Posted by Silent View Post


Or use php scripts and make it A LOT more secure.
I usually write servers with Tcp handlers, encrypt sensitive data and use some local server instead of a SQL server, NoSQL is also great idk how secure tho
Posts 115 of 45 · Page 1 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?