Solved

Passing querystrings securely or with hidden values

Posted on 2008-10-29
2
487 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 52

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

Industry Leaders: 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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

705 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