Limiting Access, can this be done?




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.

.



Relevant Pages

  • Re: Limiting Access, can this be done?
    ... I can log in using SSH, ... but I want to limit access such that the user cannot go ... but I can still change directories and look around. ... Can this be done, limiting the users access to his home directory, ...
    (comp.security.ssh)
  • Re: limited shell access
    ... kalin mintchev wrote: ... is it possible to limit access for certain users only to a certain ... directory tree - other then his/her home directory? ...
    (freebsd-questions)
  • Re: limited shell access
    ... is it possible to limit access for certain users only to a certain ... directory tree - other then his/her home directory? ... To unsubscribe, send any mail to ...
    (freebsd-questions)
  • Re: How to set the prompt os it shows current working directory
    ... directory when you login and whenever you change directories. ... initially log in it doesn't show me the home directory of the oracle ...
    (RedHat)
  • Re: limited shell access
    ... is it possible to limit access for certain users only to a certain ... directory tree - other then his/her home directory? ... man 1 bash ...
    (freebsd-questions)