Solved

Passing querystrings securely or with hidden values

Posted on 2008-10-29
2
485 Views
Last Modified: 2012-05-05
Hi There

I have two web sites a ASP.NET  and an old legacy ASP system.
I want to have a site link that passes parameters in a querystring to the asp website.

My problem is that I will be passing user information from in a querystring I would like to hide those values or make sure that the asp website only exepts calls from the asp.net page.

HERE is the url i am using

<a href="http://legacysite/login.asp?UserID=<%=Session["Docter_Username"]%>&Password=<%=Session["Docter_Password"]%>"  target="_blank">

If there are any other suggestions on how to do this please let me know.

Both systems will be running on SSL
0
Comment
Question by:Stanton_Roux
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 51

Expert Comment

by:Ryan Chong
ID: 22829094
try "POST" to your old asp portal, instead of pass those parameters via QueryString ?
0
 
LVL 10

Accepted Solution

by:
jinn_hnnl earned 500 total points
ID: 22829099
The best way you can do is encrypt your querystring, this method we normally use when we have to transfer pages across multiple framework.

You can take a look here
http://sqlserverjunkies.com/HowTo/99201486-ACFD-4607-A0CC-99E75836DC72.dcik
http://www.simple-talk.com/dotnet/asp.net/a-complete-url-rewriting-solution-for-asp.net-2.0/
or
http://www.devcity.net/Articles/47/1/encrypt_querystring.aspx

JINN


0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
I need help adding validation to my MVC.Net view 6 21
Need to sort columns in DataGridView 4 36
Date on a table 16 33
calculate days away 11 23
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

761 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question