give up http for download from a web site ?

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

give up http for download from a web site ?

Post by jmburnod » Thu Nov 17, 2016 6:08 pm

Hi all,
I remember to have read that we have to give up http and use https for downloads files from a website to documents folder on iOS.
Is there someone who can confirm it ?
Best regards
Jean-Marc
https://alternatic.ch

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: give up http for download from a web site ?

Post by FourthWorld » Thu Nov 17, 2016 6:48 pm

I searched Google for "Apple requiring https" and this was the first link in the list of results:

Apple will require HTTPS connections for iOS apps by the end of 2016
https://techcrunch.com/2016/06/14/apple ... d-of-2016/
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: give up http for download from a web site ?

Post by LiveCode_Panos » Thu Nov 17, 2016 7:00 pm

Yes, this is a restriction from Apple. If you still want to access a http website from your iOS app, you can disable ATS (App Transport Security) in the Standalone Settings for iOS, but this is NOT recommended
.

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: give up http for download from a web site ?

Post by jmburnod » Thu Nov 17, 2016 9:04 pm

Thanks both for quick reply.
I will see with my partners what is the simplest way to use https.
Kind regards
Jean-Marc
https://alternatic.ch

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: give up http for download from a web site ?

Post by LiveCode_Panos » Fri Nov 18, 2016 11:35 am

Note that simply using https does not guarantee that the connection will be marked as "secure" by ATS. See comment 1 in bug http://quality.livecode.com/show_bug.cgi?id=18645 for more details.

Best,
Panos
--

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: give up http for download from a web site ?

Post by jmburnod » Fri Nov 18, 2016 6:23 pm

Thanks again,
My partners are not enthousiast to change http to https. They sugest I add my store folder in app.
This folder contains 3'500 .png files (160 Mo).
I wonder if this way is reasonable.
Best
Jean-Marc
https://alternatic.ch

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: give up http for download from a web site ?

Post by FourthWorld » Fri Nov 18, 2016 6:35 pm

jmburnod wrote:My partners are not enthousiast to change http to https.
If you don't mind my asking, I'm curious: why?

The world is switching to HTTPS rapidly, and Let's Encrypt is making this automatable and free. What advantages are there with _not_ having a secure connection?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: give up http for download from a web site ?

Post by jmburnod » Fri Nov 18, 2016 7:26 pm

Code: Select all

If you don't mind my asking, I'm curious: why?
I dont know but I think we miss knowledge about the process to become able using https.
https://alternatic.ch

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: give up http for download from a web site ?

Post by sphere » Thu Dec 01, 2016 10:30 pm

I don't know if you have your own hosting service, or have it at somewhere else at a provider.
But my provider in the Netherlands is selling certificates to use https, but is also offering the Let's Encrypt certificate for free which i'm using too now.
All i had to do is tun something on in the user settings and and another setting in DirectAdmin.

Then ofcourse if you use a CMS (wordpress, Joomla etc) , in most cases you need to change a setting there to use https

another thing is get your site on PHP7.x.x and use MySQLi or PDO for higher security. Most CMS's are supporting that nowadays.

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: give up http for download from a web site ?

Post by jmburnod » Thu Dec 01, 2016 11:09 pm

Hi Sphere,
Thank you for your reply
I confirm my answer to Richard. We needed knowledge about this change. My partners now work with our provider to use https in our web site builded with wordpress.
Best regards
Jean-Marc
https://alternatic.ch

jekyllandhyde
Posts: 92
Joined: Thu Feb 14, 2013 7:17 pm

Re: give up http for download from a web site ?

Post by jekyllandhyde » Fri Dec 02, 2016 1:59 am

I believe if you read Apple's new requirements carefully they will still allow http connections to a specific IP address. Not domains though.

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: give up http for download from a web site ?

Post by jmburnod » Tue Dec 06, 2016 12:38 pm

Hi All
We did some tests with an other site using https. First tests work fine.
That was easier than we thought :D
Thanks again
Jean-Marc
https://alternatic.ch

Post Reply

Return to “iOS Deployment”