ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder

Automatically encode files on server side

Author Message
1337Dubz



Joined: 15 Mar 2019
Posts: 1

PostPosted: Fri Mar 15, 2019 1:19 pm    Post subject: Automatically encode files on server side Reply with quote

Hello!

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.


Thanks!!!
Back to top
View user's profile Send private message
alastair



Joined: 23 Feb 2010
Posts: 354

PostPosted: Mon Mar 18, 2019 9:48 am    Post subject: Reply with quote

Hi,

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

ionCube
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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