469,616 Members | 1,792 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,616 developers. It's quick & easy.

Secure way to post a web form ... client side

I am in need of some good advice ...

Goal: I need to automatically log users of my website into
a second website.

Obstacles: The second website requires I "post" a form
with specific field/value combinations before it will
execute and return a valid cookie/session. The solution
also needs to be secure and as transparent as possible.

Solution (so far): I have created an asp.net web form I
populate with the login information and deliver to the
users browser. I then use JavaScript to immediately submit
the form (after it is loaded into Internet Explorer) to
the second server.

Problem: Although this solution works its not secure. If a
user can view the source of my page before it submits to
the second web server they will find the login info (not
acceptable).

Question: How can I automatically and securely "post" a
client-side form? Could I use something like an ActiveX
Control or a Java Applet to securely accomplish this? If
so, which one would be the best and or easiest of the two
to work with? Also, will the browser hosting them inherit
the cookies presented by the other website?

I am in unfamiliar territory here ... help please!

- Darrell G

Jul 21 '05 #1
0 1120

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Paul Perot | last post: by
2 posts views Thread by Stephen Bartholomew | last post: by
6 posts views Thread by guoqi zheng | last post: by
reply views Thread by Darrell G | last post: by
7 posts views Thread by dredge | last post: by
8 posts views Thread by Laith Zraikat | last post: by
3 posts views Thread by Will | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.