Home > SQL Server Tips > Database Management and Administration > Secure data transfers for remote SQL Server administration
SQL Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

DATABASE MANAGEMENT AND ADMINISTRATION

Secure data transfers for remote SQL Server administration


Serdar Yegulalp
02.13.2005
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


In this two-part series, Serdar Yegulalp explains how to remotely administer SQL Server without compromising network security. Part one offered two methods for providing secure administrative access to remote employees. In part two below, he'll examine practical problems you may encounter when remotely administering SQL Server.

In my previous tip I explained how SQL Server could be administered remotely, whether it's through a Microsoft interface or a third-party package. Here I'll discuss some problems that can occur during remote administration and how to work around them securely.

Slow SQL Server connectivity

A slow or sporadic connection (such as a dial-up link) can make administering SQL Server through Remote Desktop difficult.

One option might be to install the SQL Server Enterprise Manager on the machine being used to perform the administration. However, this option often means exposing SQL Server to the outside world -- never a good move from a security perspective.

A better solution in this case would be to use a Web-based administration tool (see part one). Web traffic is stateless and can handle slow or intermittent connections more robustly.

Another option, although it's somewhat less flexible and has proved to be a source of exploits, is the SQL Mail. This service allows you to send commands to the SQL Server in an e-mail and have the results returned as a responding message.

Remote data transfer

Getting data to and from a remote SQL Server machine can be done several ways:

  • Copy files by hand from the remote computer
  • Use mapped drives
  • FTP
  • The first option is labor-intensive, and mapping a drive across a WAN is almost always a bad idea unless it's done through a tunneled connection. FTP is the most secure of the three options. An FTP site on the remote server can be set up on nearly any port and accept secure connections (if the software allows it). FTP is also easier to set up than mapped drives.

    As an added note, when sending and receiving the files themselves always compress them with a tool like the WinRAR compression utility, which can compress structured files quite heavily. The tradeoff is in the compression/decompression time, but if your network bandwidth is limited, it's worth it.

    WARNING: If you are trying to mount a database from a backup on another system, SQL Server is finicky about the file locations. If your original file was in C:Datatables and your current SQL Server setup has no such directory, you need to create one.

    Rate this Tip
    To rate tips, you must be a member of SearchSQLServer.com.
    Register now to start rating these tips. Log in if you are already a member.




    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



    RELATED CONTENT
    SQL Server Security
    Meet compliance requirements with improved database security practices
    Hardening the network and OS for SQL Server security
    Securing the server and database in SQL Server
    SQL Server security made simple and sensible
    Blog: Protect your databases from the internal threat
    Setting up SQL Server Service Broker for secure communication
    The keys to database backup protection for SQL Server
    Understanding transparent data encryption in SQL Server 2008
    The fine line between not encrypting your databases and breach notification
    Securing SQL Server with access control, login monitoring and DDL triggers

    Database Management and Administration
    Using traces in SQL Server Profiler
    Meet compliance requirements with improved database security practices
    Hardening the network and OS for SQL Server security
    Securing the server and database in SQL Server
    How SQL Server 2008 components impact SharePoint implementations
    Troubleshooting Distributed Transaction Coordinator errors in SQL Server
    Achieving high availability and disaster recovery with SharePoint databases
    Clearing the Windows page file and its effect on server performance
    Deploying a SQL Server virtual appliance for Microsoft Hyper-V
    How to create SQL Server virtual appliances for Hyper-V

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    data corruption  (SearchSQLServer.com)
    data hiding  (SearchSQLServer.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



    SQL Server Development - .NET, C#, T-SQL, Visual Basic
    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts