Posted: Fri Mar 15, 2019 1:19 pm Post subject: Automatically encode files on server side
I am curious if this is possible or not. I would like to automatically encrypt my files as they get uploaded to my web server, so that the source cannot be taken/modified by other people.
I have a local copy of every file I need that isn't encoded. Whenever I edit and make changes, my editor automatically uploads the files via SFTP. I would like it if I could then have the server encode the files when they get changed.
An alternative would be to have a cron job automatically re-encode anything that needs to be encoded every x hour(s). Not sure if anyone can provide any pointers on this or not.
I do have a Windows and Linux license, so that isn't a problem at all. I'm just not familiar with the CLI version on Linux for this.
If possible, we would advise encoding before uploading to your server as that is more secure. The reason for that is encoding does not overwrite the source files so your source code will be on the server unless your cron job is set to remove the unencoded files after encoding.
With regard to getting started with creating a cron job for encoding on Linux, probably the best thing to do would be to use the Project > Export feature in the Windows GUI. If you then choose the "Unix Shell Script" option then that will produce a Linux CLI version of your Windows encoding settings. _________________ Alastair
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum