Slightly OT: WebDAV or SFTP

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have been trying to set up a server to allow users to store and retrieve
files using ssh under cygwin on XP pro.  I have realised that trying to
prevent both shell access and access to the full file system is probably
more bother than its worth.  Whilst I trust the users not to play I would
still prefer to be secure.

I have been told that WebDAV will allow me to set up permissions for users
much more easily and is what I should be looking at.  I plan to download and
run apache for windows to use as the webserver.

Can someone point me to any howto's or the like to get me started.

Also how does webdav provide for things such as the following (or will I
have to put my own procedures in place for these)?

Document control (only one user can edit a document at a time)
Document issue number allocation.
User file permissions (I want one user to only be able to access one
particular folder)
What does the user interface look like? i.e. how will users find and
download documents, edit them and then re-upload.
Will I need to serve some web pages or can I set it up to look like a ftp
server in IE?

Apologies for the OT post but this is the most appropriate group our company
server mirrors.

Chris Lewis

Re: Slightly OT: WebDAV or SFTP

Chris Lewis wrote:
Quoted text here. Click to load it

Google for them, there are dozens of good ones. This is an example:

Quoted text here. Click to load it

It's built in.

Quoted text here. Click to load it

This is basic apache user access, via .htaccess or via an appropriate
httpd.conf or conf.d/*.conf file. You'd

Quoted text here. Click to load it

In the Windows world, they can add it to their "Network Places" and have it
open up as a folder on their desktop. In the Linux world, there's
"Konqueror" and "Amaya" which have such editing capability built in, and for
the Linux/UNIX and Mac world there is "DAVExplorer" that provides a nice
Java based GUI.

Quoted text here. Click to load it

Please define what you mean by "look like an FTP server". You mean have a
browsable list of all the files in the directory? Yes, that's the normal

Quoted text here. Click to load it

It's cool, and it's probably partly my fault for recommending it. For
non-shell access, and for keeping users with read/write permission the heck
out of the rest of the file server's OS, it's vastly easier to do than to
build up the chroot cages you'd need for SSH.

Site Timeline