X-Spam-Check-By: sourceware.org
Message-ID: <44F4676B.1090805@cygwin.com>
Date: Tue, 29 Aug 2006 12:12:27 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060727 Fedora/1.5.0.5-1.fc4.remi Thunderbird/1.5.0.5 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Control which drives are visible under Cygwin/OpenSSH?
References: <44F45E2A.2000704@chemistry.ohio-state.edu>
In-Reply-To: <44F45E2A.2000704@chemistry.ohio-state.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Thomas J Magliery PhD wrote:
> Hello, I have just installed the latest Cygwin and OpenSSH on my Windows 
> XP Pro SP2 machine so that I can SSH into my data files from elsewhere.  
> Works great.  However, I would like to block access to my other drives 
> (programs, backups), just in case this gets hacked.  Is that possible?  
> Thank you.  Tom

You would really want to control that through Windows permissions, since
it's the O/S and not Cygwin that ultimately controls access to these
resources.  You don't want users to be able to work-around your security
settings by using a DOS/Windows tool. ;-)  You can, of course, use Cygwin
tools like 'setfacl' to manipulate file and directory permissions if that
suits you.  Otherwise, the GUI and/or 'cacls' will allow you to do similar
manipulations.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

