This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Webmaster forum > August 2006 > How to confine a user to a directory via ftp?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to confine a user to a directory via ftp?
jeff

2006-08-25, 10:45 pm

Hi all,

In a Linux system, a normal ftp connection confines the user to his
home directory, which is what I'd like to have happen using a Windows
2003 Server. I can create directories and set permissions to restrict
read/write, but how to keep them confined to that directory?

Thanks.

Jerry Stuckle

2006-08-25, 10:45 pm

jeff wrote:
> Hi all,
>
> In a Linux system, a normal ftp connection confines the user to his
> home directory, which is what I'd like to have happen using a Windows
> 2003 Server. I can create directories and set permissions to restrict
> read/write, but how to keep them confined to that directory?
>
> Thanks.
>


Jeff,

I went through this a while ago. It's not easy - you have to set up
virtual directories and all kinds of other things. Doc is on the
Microsoft site.

I finally gave up and installed FileZilla ftp server (available on
SourceForge). It's also more reliable than the MS FTP server, IMHO.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
David Cary Hart

2006-08-25, 10:45 pm

On Fri, 25 Aug 2006 17:38:39 -0400, Jerry Stuckle
<jstucklex@attglobal.net> opined:
> jeff wrote:
>
> Jeff,
>
> I went through this a while ago. It's not easy - you have to set
> up virtual directories and all kinds of other things. Doc is on
> the Microsoft site.
>
> I finally gave up and installed FileZilla ftp server (available on
> SourceForge). It's also more reliable than the MS FTP server, IMHO.
>

The other possibility is to abandon FTPd completely in favor of http
file transfers (using a PHP form for uploads). This method provides
infinitely more control and - anecdotaly - better transfer
performance.

Our server is on Linux and I abandoned FTP about a year ago. Once
less daemon, two fewer ports open and one less package to maintain.



--
"Black Hole": The economic effect of administering a DNSBL
Our DNSBL - Eliminate Spam at the Source: http://www.TQMcube.com
Don't Subsidize Criminals: http://boulderpledge.org
Jerry Stuckle

2006-08-25, 10:45 pm

David Cary Hart wrote:
> On Fri, 25 Aug 2006 17:38:39 -0400, Jerry Stuckle
> <jstucklex@attglobal.net> opined:
>
>
> The other possibility is to abandon FTPd completely in favor of http
> file transfers (using a PHP form for uploads). This method provides
> infinitely more control and - anecdotaly - better transfer
> performance.
>
> Our server is on Linux and I abandoned FTP about a year ago. Once
> less daemon, two fewer ports open and one less package to maintain.
>
>
>


True - but have you ever tried to synchronize two systems with http
protocol?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
jeff

2006-08-26, 3:33 am


Jerry Stuckle wrote:
> jeff wrote:
>
> Jeff,
>
> I went through this a while ago. It's not easy - you have to set up
> virtual directories and all kinds of other things. Doc is on the
> Microsoft site.
>
> I finally gave up and installed FileZilla ftp server (available on
> SourceForge). It's also more reliable than the MS FTP server, IMHO.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstucklex@attglobal.net
> ==================


Jerry,

Thanks!
This is EXACTLY what I was searching for.
You're a good man.

William Tasso

2006-08-29, 6:47 pm

Fleeing from the madness of the jungle
Jerry Stuckle <jstucklex@attglobal.net> stumbled into
news:alt.www.webmaster
and said:

> jeff wrote:



it may do - then again, it may not.
[color=darkred]
>
> I went through this a while ago. It's not easy - you have to set up
> virtual directories and all kinds of other things. Doc is on the
> Microsoft site.


Hrmm - don't have my notes handy, but ISTR it was fairly trivial after
groking the concepts.

> I finally gave up and installed FileZilla ftp server (available on
> SourceForge). It's also more reliable than the MS FTP server, IMHO.


is it scriptable?

--
William Tasso

http://williamtasso.com/words/what-is-usenet.asp
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews