Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: limited upload with sftp

Subject: Re: limited upload with sftp
Date: Mon, 13 Nov 2006 11:30:32 +0100
Tonnerre Lombard wrote:
Salut,

On Fri, 2006-11-10 at 13:37 +0100, Pascal Henri wrote:

I use openssh 3.9 (i think it is also the case in 4.4) and
i would like to restrict upload capacity in particular directories (more then one) with sftp. How can i do proceed ?


Set a quota.

Tonnerre

Thanks for responses.

I can't use quota because i am on Linux system. quota command are BSD, following the man page.

I can't use privileges on directories because I need to dissociate what
we can do in local and in remote. I want to be able to allow toto to write in some directories if connected via SSH but not to transfer file via SFTP in one or two of these same directories.


--

-------------------------
Pascal h.
Bureau C2080, colombes


-------------------------

<Prev in Thread] Current Thread [Next in Thread>