delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/29/12:12:48

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 AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: Control which drives are visible under Cygwin/OpenSSH?
References: <44F45E2A DOT 2000704 AT chemistry DOT ohio-state DOT edu>
In-Reply-To: <44F45E2A.2000704@chemistry.ohio-state.edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019