A little network guidance?
Hey there,
I'm just looking to write a program that has a server side and a client side.
The client will connect to a service or something on the server which will then access SQl server 2005 on the same server. However, with regards to security for this, if the router for the server has the port forwaded to the service specified port, how do you make it so only people authenticated to use that service will be able to access that port? General security stuff.
Does anyone know of any tutorials about server/client's with services or anything?
Thanx in advance.
Re: A little network guidance?
You can implement a user/logon feature in your server and client.
When a client initiates a connection it must first send a username and password.
If they are incorrect or if it doesn't do this the server closes the connection.
Add encryption if you fear that people will sniff out packets.
This won't keep the router from forwarding packets though.
Re: A little network guidance?
Quote:
Originally Posted by Bonzol
if the router for the server has the port forwaded to the service specified port, how do you make it so only people authenticated to use that service will be able to access that port? General security stuff.
That's not something you write, it's something built into (very expensive) routers.