Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Security on device
Started by MatthewCharlesHarrop Jul 17 2013 02:56 AM

- - - - -
34 replies to this topic

[TOPIC CONTROLS]
Page 2 of 2 1 2
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#26

rxmarccall

[GLOBAL: userInfoPane.html]
rxmarccall
  • Contributor

  • 751 posts
  • Corona SDK

I was able to get the "htaccess" method working!  Glad to have at least a little basic authentication before the user can download content.  

 

My only concern is, if the download is taking longer than say 15 minutes, normally in a web browser the user would be asked to enter login information again, does Corona store this information so the download would continue without any interuptions?



[TOPIC: post.html]
#27

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,408 posts
  • Enterprise

You would have to store your own credentials and resend them.  However, credentials should be used on a connection by connection basis.  That is you're going to send the Username/Password when you first make the request.  It's not sent on a data packet by data packet basis.  So you would only need to resend it if you made another request. 



[TOPIC: post.html]
#28

MatthewCharlesHarrop

[GLOBAL: userInfoPane.html]
MatthewCharlesHarrop
  • Contributor

  • 139 posts
  • Corona SDK

Sorry, I fixed my problem - My own stupidity...



[TOPIC: post.html]
#29

jstrahan

[GLOBAL: userInfoPane.html]
jstrahan
  • Corona Geek

  • 1,926 posts
  • Corona SDK

im getting a plugin cannot be downloaded for openssl

 

nvm i got it



[TOPIC: post.html]
#30

jonjonsson

[GLOBAL: userInfoPane.html]
jonjonsson
  • Corona Geek

  • 1,051 posts
  • Corona SDK

I noticed requiring the openssl plugin in build settings puts a small delay on simulator load time (not sure about devices). It's less snappy when I make a change and simulator auto-reloads. 

 

Not a huge issue or anything but does it connect to somewhere every time simulator starts? 



[TOPIC: post.html]
#31

jstrahan

[GLOBAL: userInfoPane.html]
jstrahan
  • Corona Geek

  • 1,926 posts
  • Corona SDK

from what i understand on the sim the plugin is downloaded each time its ran but on devices its bundled into the build

[TOPIC: post.html]
#32

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,408 posts
  • Enterprise

Correct, it downloads the plugin for the sim each time, so depending on your bandwidth you could feel the download.



[TOPIC: post.html]
#33

jonjonsson

[GLOBAL: userInfoPane.html]
jonjonsson
  • Corona Geek

  • 1,051 posts
  • Corona SDK

OK thanks. I have a lot of bandwidth but I'm far away, so its a noticeable delay. Its a little bit of a bummer, one of the great things about Corona is that you can see your changes instantly in the simulator



[TOPIC: post.html]
#34

seanh

[GLOBAL: userInfoPane.html]
seanh
  • Plumber

  • 263 posts
  • Corona Staff

The simulator implementation of the plugin should only be redownloaded if there is a change to it on our side after you get it initially. That said the simulator does reach out and check that it has the most recent version on each launch (afaik).



[TOPIC: post.html]
#35

jstrahan

[GLOBAL: userInfoPane.html]
jstrahan
  • Corona Geek

  • 1,926 posts
  • Corona SDK

good to know since my internet is limited


[topic_controls]
Page 2 of 2 1 2
 
[/topic_controls]