Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I am trying to send a user name and a password through url, for example I am login inn in a page using the text field provided in the page but actually sending those username and password to another site where its used to log in.

share|improve this question
add comment

closed as not a real question by Al E., phwd Mar 21 '13 at 1:08

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

What's your question or the problem you are having?

I'll try to guess at what it is you are after, but my answer will be nebulous.

Some servers will try to accept alternate arguments in the URL itself for instance when you see:

http://www.myurlexample.com/?username="bob"&path="\here"

Tells the server to pass username="bob" and path="\here" to the server as arguments, and then the server-side logic does whatever it needs to do with that (if anything).

Others use GET/POST statements to communicate below the user-level, so a user never sees the arguments passed. This is often the case with HTML forms where the method is set to Get|Post.

If your goal is to have a 'mock form' on a website that autofills in credentials for you (kinda sneaky if you ask me!) then you'll want to look at the receiving end to see how they want it passed to them. My guess is that most modern websites have deviated far FAR away from passing parameters in the URL as a form of authentication (as this is often clear text and violates basic security protocols). As such, you'll probably be doing a GET method where you request information back from the server based on credentials you've provided in a form. Start there.

If you want a more specific answer you'll have to provide a question or problem.

share|improve this answer
    
I am trying to not to give the user the feelings that they are going outside of their domain and the external login is for Office 365, so when the user put their username and password its stright away login to his/her portal without having them to see the portal page. I've gone through some of the knowledge base of Microsoft and they actually mentioned they no longer (after ie6) support username and password through the URL. What would be the workaround then? –  Ahoq Mar 20 '13 at 17:14
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.