| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|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 is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved