I am looking for a way to do a bulk upload of a list of media files from a remote windows machine to a Linux server.
The files should be encrypted before sending so I am looking at either SCP or SFTP.
The files are uploaded to a public web directory so they can be viewed on a website hosted on the Linux server.
The problem with my existing solution is that the username and password for the server is stored on the remote machine. Using these credentials, one could access the whole web server so it is obviously that I need to replace them.
The other problem is that I want to only give the remote pc the ability to write to the public directory and nothing else, while still allowing the web server to access these files.
How can I set this up?
Thank you