| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
|Subscribe and Support WebmasterWorld|
|SFTP Permissions for write/overwrite only|
| 3:14 pm on Jan 20, 2011 (gmt 0)|
I'm automating data transfers from a windows site to a LAMP site using an SFTP scripting client on Windows Server 2003 and the bin/ssh folder on Plesk.
Can I lock this down so that the Windows server can only issue put & put with overwrite. Can it belimited even more to just csv files. How?
| 7:59 pm on Jan 20, 2011 (gmt 0)|
Create a user on the linux box
Create a directory on the linux box which only the user can Write to
Use a cronjob to routinely process the uploaded files / clean out the directory.
| 10:56 am on Jan 21, 2011 (gmt 0)|
Is there any way to limit the type of files that can be written in Plesk or Linux or does this need to use a web/firewall type filter?
Will write permissions prevent the account changing directories, reading files, creating directorys, deleting stuff ?
Im fine with the transfers and processsing I just want to ensure if the Windows box is hacked theres no way to damage the LAMP box.
I'm using an SFTP script, durring connection Windows is being sent a fingerprint but is saying the host key is unknown - is this normal ?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved