Home > Windows Security Tips > > Secure data transfer for remote SQL Server administration
Windows Security Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Secure data transfer for remote SQL Server administration


Serdar Yegulalp
02.15.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.


    More Information from SearchWindowsSecurity.com

  • Tip: Return to part one for options to help you secure remote SQL Server administration
  • Article: Find out how malicious FTP servers are targeting IE flaws
  • Tip: Get five steps to secure SQL Server


  • Rate this Tip
    To rate tips, you must be a member of SearchWindowsSecurity.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
    Setup
    Secure SQL Server
    A First Look at SQL Server 2005 for Developers: Chapter 6, 'Security'
    New Security Features in SQL Server 2005
    A Quick Review of SQL Server Security Concepts with Enhancements
    Optional Features Are Turned Off by Default
    SQL Server Password Policies and Credentials
    Specifying Execution Context for Procedural Code
    Assembly Permissions -- Who Can Catalog and Use an Assembly?
    What Can .NET Code Do from within SQL Server: Safety Levels
    Permissions, Visibility, UDTs and User-Defined Aggregates

    Hardening
    Top 10 SQL Server security tips
    SQL server security: 10 hacker tricks to exploit the system
    Discover and lock down vulnerable SQL Server services
    Encryption enhancements in SQL Server 2005
    Hacker's-eye view of SQL Server
    SQL Server Best Practices Analyzer
    Initial compromise
    Elevating privileges
    Effective firewall with a Swiss cheese ruleset
    Secure SQL Server

    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.

    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT DownloadsBlogs
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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