homepage Welcome to WebmasterWorld Guest from 107.20.109.52
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
SFTP Permissions for write/overwrite only
aspdaddy




msg:4255728
 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?

Thanks.

 

Frank_Rizzo




msg:4255888
 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.

aspdaddy




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

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 ?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved