Re: Limiting Access, can this be done?
- From: "Nico" <nkadel@xxxxxxxxx>
- Date: 11 Apr 2007 12:25:04 -0700
On 11 Apr, 17:40, "ame...@xxxxxxx" <ame...@xxxxxxx> wrote:
Hi,
I am running CentOS. I only use SFTP to transfer files to/from the
server. I can log in using SSH, of course.
The problem is, one of my clients wants an employee to be able to
upload files to one of their Apache directories. So, I've created a
user for them, but I want to limit access such that the user cannot go
anywhere else but that directory.
I've changed his home directory to be where the images will be
uploaded, but I can still change directories and look around.
Can this be done, limiting the users access to his home directory,
without destroying the Webserver from accessing the files??
Any help would be great....
Thanks.
Don't use SSH for this. OpenSSH has had chroot cages published for
this before, by people like me, but they've never been accepted into
the main codeline. There are some published sort-of-hacks for it, but
they don't work well.
Instead, use WebDAV over HTTPS. This is robust and effective.
.
- References:
- Limiting Access, can this be done?
- From: amerar@xxxxxxx
- Limiting Access, can this be done?
- Prev by Date: SSH v1's public modulo's vs. X.509 public modulo's
- Next by Date: Re: Beware scamster site, privacy.li
- Previous by thread: Limiting Access, can this be done?
- Next by thread: SSH v1's public modulo's vs. X.509 public modulo's
- Index(es):
Relevant Pages
|
|