Google Feed API with password

9 views
Skip to first unread message

marcello

unread,
Jul 8, 2009, 8:57:47 AM7/8/09
to Google AJAX APIs
Hi,

For what I understand there is no way to store and access a feed
protected by password, is it right?

Marcello

Jeremy Geerdes

unread,
Jul 8, 2009, 10:01:53 AM7/8/09
to Google-AJAX...@googlegroups.com
Unless you can pass the user credentials through URL, you are correct.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
http://jgeerdes.blogspot.com
http://jgeerdes.wordpress.com
jgee...@mchsi.com

Unless otherwise noted, any price quotes contained within this
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights
Wesleyan Church!

And check out my blog, Adventures in Web Development, at http://jgeerdes.blogspot.com
!

Marcello Rinaldi

unread,
Jul 8, 2009, 10:38:30 AM7/8/09
to Google-AJAX...@googlegroups.com
Actually, I am trying to pass credentials through URL but content loading fails (it says: Feed Not Found). Is there a specific syntaxI should use to pass credentials through URL?
 
Thanks!
 
Marcello

2009/7/8 Jeremy Geerdes <jrge...@gmail.com>

marcello

unread,
Jul 9, 2009, 4:23:16 AM7/9/09
to Google AJAX APIs

Actually, I am trying to pass values in these different ways:

- http://user:password@URL
- http://URL?user:password
- http://URL&user:password
Where URL is the feed url under http protocol.

But nothing. Anyone can provide any idea about this issue? :-)

Thanks.

Marcello


On Jul 8, 4:38 pm, Marcello Rinaldi <marcello.rina...@gmail.com>
wrote:
> Actually, I am trying to pass credentials through URL but content loading
> fails (it says: Feed Not Found). Is there a specific syntaxI should use to
> pass credentials through URL?
>
> Thanks!
>
> Marcello
>
> 2009/7/8 Jeremy Geerdes <jrgeer...@gmail.com>
>
>
>
>
>
> > Unless you can pass the user credentials through URL, you are correct.
>
> > Jeremy R. Geerdes
> > Effective website design & development
> > Des Moines, IA
>
> > For more information or a project quote:
> >http://jgeerdes.home.mchsi.com
> >http://jgeerdes.blogspot.com
> >http://jgeerdes.wordpress.com
> > jgeer...@mchsi.com

Jeremy Geerdes

unread,
Jul 9, 2009, 7:51:54 AM7/9/09
to Google-AJAX...@googlegroups.com
In all likelihood, the feed url would have to have this sort of form:

http://domain.com/rss?username=xxx&password=yyy

But, to be honest, I would be very much surprised if that worked.
Generally speaking, it's a bad deal to allow that kind of login
because the username and password are always passed in the open, and
will always be visible in the address bar and/or code.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
http://jgeerdes.blogspot.com
http://jgeerdes.wordpress.com
jgee...@mchsi.com

Unless otherwise noted, any price quotes contained within this
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights
Wesleyan Church!

And check out my blog, Adventures in Web Development, at http://jgeerdes.blogspot.com
!


marcello

unread,
Jul 9, 2009, 7:57:43 AM7/9/09
to Google AJAX APIs
Yes,

Actually this option doesn't work. And yes, it's very bad to pass
these values in the URL. :-S

Thanks anyway.

Marcello

On Jul 9, 1:51 pm, Jeremy Geerdes <jrgeer...@gmail.com> wrote:
> In all likelihood, the feed url would have to have this sort of form:
>
> http://domain.com/rss?username=xxx&password=yyy
>
> But, to be honest, I would be very much surprised if that worked.  
> Generally speaking, it's a bad deal to allow that kind of login  
> because the username and password are always passed in the open, and  
> will always be visible in the address bar and/or code.
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:http://jgeerdes.home.mchsi.comhttp://jgeerdes.blogspot.comhttp://jgeerdes.wordpress.com
> jgeer...@mchsi.com
>
> Unless otherwise noted, any price quotes contained within this  
> communication are given in US dollars.
>
> If you're in the Des Moines, IA, area, check out Debra Heights  
> Wesleyan Church!
>
> And check out my blog, Adventures in Web Development, athttp://jgeerdes.blogspot.com
>   !
>
> On Jul 9, 2009, at 3:23 AM, marcello wrote:
>
>
>
>
>
> > Actually, I am trying to pass values in these different ways:
>
> > -http://user:password@URL
> > -http://URL?user:password
> > -http://URL&user:password
Reply all
Reply to author
Forward
0 new messages