Secure my source code over the internet

Everything else that doesn't fall into one of the other PB categories.
marc_256
Enthusiast
Enthusiast
Posts: 749
Joined: Thu May 06, 2010 10:16 am
Location: Belgium
Contact:

Secure my source code over the internet

Post 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
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
User avatar
Tenaja
Addict
Addict
Posts: 1949
Joined: Tue Nov 09, 2010 10:15 pm

Re: Secure my source code over the internet

Post 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.
marc_256
Enthusiast
Enthusiast
Posts: 749
Joined: Thu May 06, 2010 10:16 am
Location: Belgium
Contact:

Re: Secure my source code over the internet

Post 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
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
Marc56us
Addict
Addict
Posts: 1479
Joined: Sat Feb 08, 2014 3:26 pm

Re: Secure my source code over the internet

Post 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.

:wink:
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Secure my source code over the internet

Post 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.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
skywalk
Addict
Addict
Posts: 4003
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Secure my source code over the internet

Post 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.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
DK_PETER
Addict
Addict
Posts: 898
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: Secure my source code over the internet

Post by DK_PETER »

When I need to transfer over the internet from my
local server - https://www.rejetto.com/hfs/
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
BarryG
Addict
Addict
Posts: 3330
Joined: Thu Apr 18, 2019 8:17 am

Re: Secure my source code over the internet

Post 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.
User avatar
Mohawk70
Enthusiast
Enthusiast
Posts: 400
Joined: Thu May 11, 2006 1:04 am
Location: Florida, USA

Re: Secure my source code over the internet

Post 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.
Last edited by Mohawk70 on Fri Dec 13, 2019 1:13 am, edited 1 time in total.
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Secure my source code over the internet

Post 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.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
marc_256
Enthusiast
Enthusiast
Posts: 749
Joined: Thu May 06, 2010 10:16 am
Location: Belgium
Contact:

Re: Secure my source code over the internet

Post 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 :oops: :?

thanks,
marc
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
Post Reply