Page 1 of 1
Secure my source code over the internet
Posted: Fri Dec 06, 2019 2:17 pm
by marc_256
Hallo,
After a very heavy year,
I restarted my PB developments ...
But this time with a co-programmer.
So, I need to send parts of program over the internet,
and I like to secure my source codes.
I never did this, and I'm not familiar whit this stuff.
Q) What is the best way to do this ?
Even with sometimes very large programs ?
Thanks,
Marc
Re: Secure my source code over the internet
Posted: Fri Dec 06, 2019 3:01 pm
by Tenaja
There are a number of collaboration sites, such as GitHub. Most charge for privacy though. We use svn hosted internally, but I've not used any "publicly" so I can't review them. However, you can host it privately, and setup external access. The svn style is more of a Dev tool that lets you compare edits every step of the way. (What line did I change that caused that? SVN has file compare based on time stamps, and works with files not yet completed or released, in addition to released versions.) Not sure if GitHub does that, but I read somewhere it's more for sharing released versions.
Re: Secure my source code over the internet
Posted: Fri Dec 06, 2019 4:13 pm
by marc_256
Hi Tenaja,
thanks for your info,
but I think I was not detailed an of,
I installed a WD-MyCloudMirror - 2x2TB HDD in RAID1 modus.
Don't ask for further info I'm a nobody in this stuff ...
If I understand-ed the retail seller, it copy the data from HDD1 to HDD2.
So, I want to copy a file from my PC on the MyCloud in encrypted form,
and someone else can read it and decrypt the file,
test and/or edit the file and send it to my MyCloud,
I can test and edit the file
and so on ...
So, what i'm looking for, is a program to encrypt/decrypt my programs
Is this possible with PB ?
Thanks,
marc
Re: Secure my source code over the internet
Posted: Fri Dec 06, 2019 4:45 pm
by Marc56us
marc_256 wrote:
I installed a WD-MyCloudMirror - 2x2TB HDD in RAID1 modus.
Don't ask for further info I'm a nobody in this stuff ...
If I understand-ed the retail seller, it copy the data from HDD1 to HDD2.
Yes, RAID1 duplicates data from one disk to another. This protects you from a hardware failure...
...but not viruses or misuse.
In fact, it is safer when you have two disks to synchronize only on demand, so if you delete a file or directory from disk 1 you can recover the data from disk 2 (as long as you have not yet synchronized)
Under Windows, Robocopy has been present since XP and does this work very well.

Re: Secure my source code over the internet
Posted: Fri Dec 06, 2019 5:18 pm
by IdeasVacuum
Hi Marc
The PB files are just files, nothing special required to encode/decode them. Take a quick look at the PB Help
https://www.purebasic.com/documentation ... index.html and recent forum posts, you can write your own encode program quickly and easily. That way, only you and your co-developer can decode them.
Re: Secure my source code over the internet
Posted: Fri Dec 06, 2019 5:27 pm
by skywalk
To do this professionally, buy a
Chilkat license and code your own encryption to and fro the cloud.
The benefit of the Chilkat license is authentication to the cloud services without nightmare debugging.
Encryption and file handling is native PB or use the Chilkat functions.
Re: Secure my source code over the internet
Posted: Fri Dec 06, 2019 8:15 pm
by DK_PETER
When I need to transfer over the internet from my
local server -
https://www.rejetto.com/hfs/
Re: Secure my source code over the internet
Posted: Sat Dec 07, 2019 1:48 am
by BarryG
marc_256 wrote:I restarted my PB developments ...
But this time with a co-programmer.
So, I need to send parts of program over the internet,
and I like to secure my source codes.

I gather you don't want anyone but your co-programmer to see the source when you're sending it to him? Is that right? And when you say "send", does that mean as one-off ad-hoc transfers, without needing to be hosted anywhere online for access 24/7? If so, just zip the source files (or source folder) with a strong password that only you two know, and email this zip as an attachment. Don't overthink it or make it harder than it has to be.
Re: Secure my source code over the internet
Posted: Mon Dec 09, 2019 6:23 pm
by Mohawk70
BarryG wrote:marc_256 wrote:I restarted my PB developments ...
But this time with a co-programmer.
So, I need to send parts of program over the internet,
and I like to secure my source codes.

I gather you don't want anyone but your co-programmer to see the source when you're sending it to him? Is that right? And when you say "send", does that mean as one-off ad-hoc transfers, without needing to be hosted anywhere online for access 24/7? If so, just zip the source files (or source folder) with a strong password that only you two know, and email this zip as an attachment. Don't overthink it or make it harder than it has to be.
This is exactly what I was thinking, no need to make it more complicated than necessary.
Just make sure that when you send the password to do it securely. You could use Signal,
or another secure / encrypted messaging app.
Re: Secure my source code over the internet
Posted: Tue Dec 10, 2019 12:56 am
by IdeasVacuum
.... if you need to include other material that makes a zip too big for email, you can use WeTransfer for free (up to 2 GB)
https://wetransfer.com/
It's a professionally run service. I have been using WT for years, to exchange CAD-CAM data and deliver programs.
Re: Secure my source code over the internet
Posted: Tue Dec 10, 2019 2:11 am
by marc_256
Hi everyone,
thanks for all this information,
it is still far away from my knowledge ...
but I gone a take some time now to study dis stuff
thanks,
marc