This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > FrontPage Programming > March 2007 > Hardcode username and password to a hyperlink





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Hardcode username and password to a hyperlink
agriman1969

2007-03-06, 6:16 pm

I was wondering what the commands were to autofill the username and password
on a hyperlinked website. I would prefer that the fields fill in and login
when the button is selected. Can anyone help?
David Berry

2007-03-06, 6:16 pm

This isn't a good security practice since the user name and password would
be visible in the URL (making it vulnerable) but if this was an ASP page you
could create a querystring that had them in it and then populate the form
with the values. Ex:

http://www.mysite.com/login.asp?username=guest& password=guest

Then on the form you'd do:

username = request.querystring("username")
password = request.querystring("password")

<input type="text" name="Username" size="20" value="<%=username%>">
<input type="text" name="Password" size="20" value="<%=password%>">

--
David Berry
FrontPage Support: http://www.frontpagemvps.com/


"agriman1969" <agriman1969@discussions.microsoft.com> wrote in message
news:8F8441BA-05E5-4B6B-8253-D179CC5A3B8D@microsoft.com...
>I was wondering what the commands were to autofill the username and
>password
> on a hyperlinked website. I would prefer that the fields fill in and
> login
> when the button is selected. Can anyone help?



Mike Mueller

2007-03-06, 6:16 pm

This is going to vary by the remote page and how it
authenticates the users.




"agriman1969" <agriman1969@discussions.microsoft.com> wrote
in message
news:8F8441BA-05E5-4B6B-8253-D179CC5A3B8D@microsoft.com...
:I was wondering what the commands were to autofill the
username and password
: on a hyperlinked website. I would prefer that the fields
fill in and login
: when the button is selected. Can anyone help?


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews