Welcome to WebmasterWorld Guest from 54.147.10.72

Forum Moderators: phranque

Message Too Old, No Replies

SFTP Permissions for write/overwrite only

     

aspdaddy

3:14 pm on Jan 20, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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?

Thanks.

Frank_Rizzo

7:59 pm on Jan 20, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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.

aspdaddy

10:56 am on Jan 21, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks

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 ?
 

Featured Threads

Hot Threads This Week

Hot Threads This Month