The methods you are outlining don't differ in safety. Why do you think the second is safer than the first?
I have read something on internet about that.
Do you think that a query string is safer as an http requests authentication?
Its more easy for me to parse a query string because i have some example in my book: http://goo.gl/XhYuG