How to: Send Username/Password in HTML, behind the scenes.

C

ca_webmistress

Not sure if this is the place for this.

I'm trying to create a hyperlink that will send users to a password
protected area on a different server. I do not want users to see the password
prompt because they will not know the username/password. Instead I would like
to know what HTML/script I can include with the hyperlink to send the
username and password in the background, behind the scenes to the user.

Any idea? Thanks in advance!
 
S

Stefan B Rusynko

Anything client side (JavaScript) can be seen
- use server side scripts (asp, php)




| Not sure if this is the place for this.
|
| I'm trying to create a hyperlink that will send users to a password
| protected area on a different server. I do not want users to see the password
| prompt because they will not know the username/password. Instead I would like
| to know what HTML/script I can include with the hyperlink to send the
| username and password in the background, behind the scenes to the user.
|
| Any idea? Thanks in advance!
 
R

Ronx

Any HTML/script used to send a password as part of a hyperlink will be
visible to the user, either in the address bar, or by viewing the page
source.

You could link to a page using server-side scripting (.asp, .NET, Perl/cgi -
whatever your host supports) that redirects to the secure page.
To maintain the security on the other server, your users would also have to
access secured pages on your site, before redirecting to that other server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top