Is it possible to encrypt some data in the Community Edition?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Is it possible to encrypt some data in the Community Edition?
I’m working on a small project for a very limited audience. I’m using the Community Edition and it’s absolutely fine that they can see my code. But I’m also using an API key stored in a field that I’m using for a call and I’d like to keep that key private. Is that possible at all in the Community Edition?
-
- Livecode Opensource Backer
- Posts: 10099
- Joined: Fri Feb 19, 2010 10:17 am
Re: Is it possible to encrypt some data in the Community Edition?
As the Community edition is open source it is governed by an open source licence,
ad as such, should anyone request all of your code you have to supply it to them.
I also have a funny feeling that rolling a proprietary component into something open source may,
theoretically at least, be opening a legal can of worms.
ad as such, should anyone request all of your code you have to supply it to them.
I also have a funny feeling that rolling a proprietary component into something open source may,
theoretically at least, be opening a legal can of worms.
-
- VIP Livecode Opensource Backer
- Posts: 10049
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Is it possible to encrypt some data in the Community Edition?
Industry-standard encryption is available with all editions of LiveCode. Only the ability to encrypt scripts is absent in the Community Edition, as it would not be needed for deployments where source is freely available. Data, however, can be strongly encrypted.
As for API keys, consider that most scripting languages have no script encryption at all. What do you need to do specifically? I'll bet there's a way other languages handle it well, and we should be able to do it at least as well with LC.
As for API keys, consider that most scripting languages have no script encryption at all. What do you need to do specifically? I'll bet there's a way other languages handle it well, and we should be able to do it at least as well with LC.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Is it possible to encrypt some data in the Community Edition?
My script is making a curl call to a website using the shell command. The API key is in the curl call and I don’t want people to see my API key.
-
- VIP Livecode Opensource Backer
- Posts: 10049
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Is it possible to encrypt some data in the Community Edition?
The top answer here includes good discussion of the issue and a few different options for resolving it:
https://softwareengineering.stackexchan ... ource-code
https://softwareengineering.stackexchan ... ource-code
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Is it possible to encrypt some data in the Community Edition?
Thanks Richard, that's very useful!
-
- VIP Livecode Opensource Backer
- Posts: 10049
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Is it possible to encrypt some data in the Community Edition?
You're welcome. Happy to help.
Keep us posted if you run into any other challenges.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn