On Tuesday, 6 January 2015 18:30:42 UTC-8, Dave Cheney wrote:
https://github.com/rthornton128/login/blob/master/uuid/uuid.go#L20
You should probably check the error here, it would be unfortunate to
generate many UUID's that are all zeros.
--https://github.com/rthornton128/login/blob/master/uuid/uuid.go#L20
You should probably check the error here, it would be unfortunate to
generate many UUID's that are all zeros.
On Wednesday, 7 January 2015 12:39:24 UTC+11, Rob Thornton wrote:
Decided to try my hand at writing my first web app. The app is a proof of
concept rather than something intended for production. In order to
understand the technologies involved, I decided to not import any packages
that weren't from the standard library. So, everything from UUID generation
(thanks Russ Cox) to session management was written by hand.
Browsing to the address will show a generic greeting page when no session
cookie is present. You can chose to register as a new user or login as an
existing one.The greeting page changes in response to your login status.
The cookie is set to expire in 5 minutes.
I would like to get some feedback on the app. Specifically, on security
issues and things done glaringly wrong.
Sources: https://github.com/rthornton128/login
GoDoc: http://godoc.org/github.com/rthornton128/login
Thanks,
Rob
Decided to try my hand at writing my first web app. The app is a proof of
concept rather than something intended for production. In order to
understand the technologies involved, I decided to not import any packages
that weren't from the standard library. So, everything from UUID generation
(thanks Russ Cox) to session management was written by hand.
Browsing to the address will show a generic greeting page when no session
cookie is present. You can chose to register as a new user or login as an
existing one.The greeting page changes in response to your login status.
The cookie is set to expire in 5 minutes.
I would like to get some feedback on the app. Specifically, on security
issues and things done glaringly wrong.
Sources: https://github.com/rthornton128/login
GoDoc: http://godoc.org/github.com/rthornton128/login
Thanks,
Rob
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.