|
Keith and The Girl is a free comedy talk show and podcast
Check out the recent shows
Click here to get Keith and The Girl free on iTunes.
Click here to get the podcast RSS feed. Click here to watch all the videos on our YouTube channel. |
|
|
|
#61 (permalink) |
|
Senior Member
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) |
|
|
|
#62 (permalink) | |
|
Senior Member
Join Date: Aug 2006
Location: Melbourne, Australia
Posts: 813
|
Quote:
Please add pictures and funneh to explain. KTHNKBAI. |
|
| (Offline) |
|
|
|
#63 (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) |
|
|
|
#64 (permalink) | |
|
Senior Member
Join Date: Mar 2008
Location: Detroitish
Posts: 1,025
|
Quote:
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) |
|
|
Keith and The Girl is a free comedy talk show and podcast
Check out the recent shows
Click here to get Keith and The Girl free on iTunes.
Click here to get the podcast RSS feed. Click here to watch all the videos on our YouTube channel. |
|
|
|
#65 (permalink) |
|
Senior Member
Join Date: Mar 2008
Location: Detroitish
Posts: 1,025
|
I submitted my code to a site that talks about this stuff, if people could give me a vote it would really help drive traffic to my blog.
Hacker News | Secure Persistent Login With Very Little SSL Redux Last edited by hayroob; 07-16-2009 at 01:18 PM. |
| (Offline) |
|
|
|
#68 (permalink) |
|
Senior Member
Join Date: Mar 2008
Location: Detroitish
Posts: 1,025
|
I'll tell you what I tell everybody, I accept gratitude in the forms of nice sayings, donations (note the link in my sig) and pictures of boobs (girls boobs, no picture of dicks, looking at you newsy)
|
| (Offline) |
|
|
|
#70 (permalink) |
|
Senior Member
Join Date: Mar 2008
Location: Detroitish
Posts: 1,025
|
Thanks for the vote, and yes the UI on that site is shittastic, I found it by clicking on literally everything until something happened. This is what happens when engineers build websites, but don't talk to designers. It never crashes and the performance is great, but only if you can actually decrypt their nonsense layout.
|
| (Offline) |
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|