Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking Servers between Companies 1

Status
Not open for further replies.

LonnieJohnson

Programmer
Apr 16, 2001
2,628
US
Is it possible for Company A to create a Linked Server on their SQL Server that connects to a database on the SQL Server of Company B?

We are working with a company and wanting to know the best way to share information between two companies and we both use SQL Server.



ProDev, Builders of Affordable Software Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
it's possible, but dangerous. The network engineer of the company that has the source server has to open up their firewall to enable this. That enables nasty people/nasty bots to try to hack into the source server.

 
Is this still the case if you use a VPN?

ProDev, Builders of Affordable Software Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
Lonnie,

Re: VPN, I don't see what the difference is. The source database has to be opened up on the firewall. This invites hacking, malicious requests.
 
VPN would be just fine.

Use local IP addresses to connect to the servers and that's it.

The firewall would block anything from the Internet, but allow VPN requests.

The risk is the same as if the servers were on the same network.

The invitation to hacking stays valid, but it is limited to 2 local networks and a sensible security model can keep you safe.

Under no circumstances should you allow direct access to tables (IMO not even Select).

Under no circumstances should you allow dynamic SQL to be executed.

HTH

[pipe]
Daniel Vlas
Systems Consultant

 
I agree whole heartedly with Daniel. I have implemented this before, and went as far as read only access over views (NOT the tables) that were based over a dedicated database which I fed with only the data I wanted the other company to see.
Your data would not only be seen by the other company though - it could be downloaded, so be sure that you only release data that you are 100% happy for the other company to view, download, duplicate and (worse case scenario) sell!!
 
Thanks guys. This is what I needed to know. Actually it is the other company that we need to get data from. I am with an agency that provides child welfare care for the state. We may be getting a contract with another state and they have all the data on their system about the kids. We have to use their front end. I need to access the backend to create reports for my company so we were pondering the most secure method of access live data that would make them comfortable.

Thanks again.


ProDev, Builders of Affordable Software Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
Have them backup the database, obfuscate what ever data needs to be obfuscated, then have them send it to you. This way you can create what ever reports are needed and get them back the statements.

Denny
MVP
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / SQL 2008 Implementation and Maintenance / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Admin (SQL 2005/2008) / Database Dev (SQL 2005)

My Blog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top