Latest Episode
Play

Go Back   Keith and The Girl Forums Keith and The Girl Forums Talk Shite

Talk Shite General discussion

Reply
 
Thread Tools Display Modes
Old 07-15-2009, 01:39 PM   #1 (permalink)
Senior Member
 
hayroob's Avatar
 
Join Date: Mar 2008
Location: Detroitish
Posts: 1,025
Quote:
Originally Posted by jnilsson View Post
hi all,


well i just wanted to say that i have started working on the android version of the KATG app...

What im doing is copying the layout of the iphone app... i got the iphone source so im looking into that to see what it does etc....

i have not really programmed a lot in java so its going slowly but trying to get there...

currently im working on the streaming function and the check to see if the feed is live. I'll get some code setup on git soon...

regards,

jonas
That is great, I tried to get into android but it was a real mind fuck for me. Let me know what ya need and I'll get on it right away.

If you want I can add you to my github account so that both apps can be hosted in the same place and I can hopefully submit some patches to help you along.

And I can add a section to katgapp.com for the android stuff.
(Offline)   Reply With Quote
Old 07-15-2009, 02:48 PM   #2 (permalink)
Member
 
jnilsson's Avatar
 
Join Date: Aug 2005
Location: Barcelona, Spain
Posts: 38
Quote:
Originally Posted by hayroob View Post
That is great, I tried to get into android but it was a real mind fuck for me. Let me know what ya need and I'll get on it right away.

If you want I can add you to my github account so that both apps can be hosted in the same place and I can hopefully submit some patches to help you along.

And I can add a section to katgapp.com for the android stuff.

hey,

my git username is jnilsson... android development is sh** and i never liked java, but got the phone and want the app so.... anyway, its going to take some time but i'll get it done.
(Offline)   Reply With Quote
Old 07-15-2009, 02:54 PM   #3 (permalink)
Senior Member
 
hayroob's Avatar
 
Join Date: Mar 2008
Location: Detroitish
Posts: 1,025
Quote:
Originally Posted by jnilsson View Post
hey,

my git username is jnilsson... android development is sh** and i never liked java, but got the phone and want the app so.... anyway, its going to take some time but i'll get it done.
not having a phone is what stopped me dead in my tracks.

I made a repository and added you as a collaborator so I think you can add a key and start making commits.
(Offline)   Reply With Quote
Old 07-16-2009, 12:08 AM   #4 (permalink)
Senior Member
 
hayroob's Avatar
 
Join Date: Mar 2008
Location: Detroitish
Posts: 1,025
So this is what I've been working on instead of posting here for the last few days:
Secure Persistent Login With Very Little SSL Part 1 | Get It Down On Paper
and
Secure Persistent Login With Very Little SSL Part 2 | Get It Down On Paper

If you're into web programming/security let me know what you think.

Last edited by hayroob; 07-16-2009 at 12:43 PM.
(Offline)   Reply With Quote
Old 07-16-2009, 07:16 AM   #5 (permalink)
Senior Member
 
Subsonix's Avatar
 
Join Date: Aug 2006
Location: Melbourne, Australia
Posts: 813
Quote:
Originally Posted by hayroob View Post
So this is what I've been working on instead of posting here for the last few days:
Secure Persistent Login With Very Little SSL Part 1 | Get It Down On Paper
and
Secure Persistent Login With Very Little SSL Part 2 | Get It Down On Paper

If you're into web programming/security let me know what you think.
I DO NOT KAY YOUR BLOG.

Please add pictures and funneh to explain.

KTHNKBAI.
(Offline)   Reply With Quote
Old 07-16-2009, 09:41 AM   #6 (permalink)
Senior Member
 
Join Date: Nov 2005
Location: Florida
Posts: 257
I see an issue the cookie has to be valid for both the http side and the https , otherwise when you switch to http after logging in you will get stuck in a login loop. One way to accomplish this is to have the cookie set via http point to the https id using a secure identifier (ie salt etc). The main issue is the cookie for http will be passed in clear text over the wire so whatever info you put into it cannot be used to login directly to the site if someone yanked the cookie. Also, you should look into separating your HTML and php using something like smarty. (Just a suggestion makes the code look clean)
(Offline)   Reply With Quote
Old 07-16-2009, 11:36 AM   #7 (permalink)
Senior Member
 
hayroob's Avatar
 
Join Date: Mar 2008
Location: Detroitish
Posts: 1,025
Quote:
Originally Posted by colk View Post
I see an issue the cookie has to be valid for both the http side and the https , otherwise when you switch to http after logging in you will get stuck in a login loop. One way to accomplish this is to have the cookie set via http point to the https id using a secure identifier (ie salt etc). The main issue is the cookie for http will be passed in clear text over the wire so whatever info you put into it cannot be used to login directly to the site if someone yanked the cookie. Also, you should look into separating your HTML and php using something like smarty. (Just a suggestion makes the code look clean)
I'll look into the smarty thing, I do enjoy clean code.

I think you misunderstood, there is a php session cookie that works over http and https that is responsible for actually being logged in, the https hash cookie (snickers to himself) is only responsible for reauthentication which is done over https.

If there's confusing or poorly explained language in my article I would love feedback to make it more clear.

EDIT: I have added a link to my live implementation in part 1

Last edited by hayroob; 07-16-2009 at 11:47 AM.
(Offline)   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 01:27 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.1
Keith and The GirlAd Management plugin by RedTyger