Passing password value through URL

Posted by Steven Wright on Stack Overflow See other posts from Stack Overflow or by Steven Wright
Published on 2010-05-05T19:27:19Z Indexed on 2010/05/05 19:38 UTC
Read the original article Hit count: 242

Filed under:
|
|

OK I see a lot of people asking about passing other values, URLS, random stuff through a URL, but don't find anything about sending a password to a password field.

Here is my situation:

I have a ton of sites I use on a daily basis with my work and oh about 90% require logins. Obviously remembering 80 bajillion logins for each site is dumb, especially when there are more than one user name I use for each site. So to make life easier, I drew up a nifty JSP app that stores all of my logins in a DB table and creates a user interface for the specific page I want to visit. Each page has a button that sends a username, password into the id parameters of the html inputs.

Problem:

I can get the usernames and other info to show up just dandy, but when I try and send a password to a password field, it seems that nothing gets received by the page I'm trying to hit.

Is there some ninja stuff I need to be doing here or is it just not easily possible?

Basically this is what I do now:

http://addresshere/support?loginname=steveoooo&loginpass=passwordhere

and some of my html looks like this:

<form name="userform" method="post" action="index.jsp" > 
    <input type="hidden" name="submit_login" value="y"> 
    <table width="100%"> 
        <tr class="main"> 
            <td width="100" nowrap>Username:</td> 
            <td><input type="text" name="loginname" value="" size="30" maxlength="64"></td> 
        </tr> 
        <tr class="main"> 
            <td>Password: </font></td> 
            <td><input type="password" name="loginpass" value="" size="30" maxlength="64"></td> 
        </tr> 
        <tr class="main"> 
            <td><center><input type="submit" name="submit" value="Login"></center></td> 
        </tr> 
    </table> 
</form>

Any suggestions?

© Stack Overflow or respective owner

Related posts about html

Related posts about url