If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

pure javascript login to a secure url

I'm in need of connecting to a secure url and passing encrypted string of username and password via pure javascript.

So, to be clear: I have an html5 app that is being ported to iphone via phonegap. The app needs to connect secure url (rss feed that am pulling). I have the username and password encrypted all ready. I just need to connected to it and pass along the parameters to gain access. What is the best way to this?

I'm not answering the question, just informing you of something. Javascript is not secure, nor is there anyway(correct me if I'm wrong) to make it secure. As it is proceced by the browser, the user can see all the javascript code.

The Following User Says Thank You to traq For This Useful Post:

it is a html5 app and i need to login into to a secure server to pull the xml rss feed.. i have the username and password already ... I thought there would be a way to pass along those credentials to gain access through javascript