473,657 Members | 2,358 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Encrypt querystring?

I have an ASP login page. Once logged in, I get redirected to an ASPX page.
According to alot of people sharing session variables is difficult between
ASP and ASPX page so I was thinking about using the querystring.

Is there a way to encrypt a querystring in ASP and decrypt it in ASP.NET?

For example, if I had a redirect like this:
SecuredPage.asp x?UserName=BJon es&Password=Hel lo

I want to encrypt it so that it is garbage to the human eye. But, I still
want to be able to use it, such as QueryString("Us erName").

Any ideas?
Nov 18 '05 #1
0 1179

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
15081
by: Jawahar Rajan | last post by:
All, I often use a querystring in my ASP pages. for example: if val > 1 then Response.redirect "val1.asp?val=1&user=UserID End if Is there a way to encrypt the querystring so anyone trying to mis use the web site will not know what the encryption stands for also when people view the page source they should not be able to see the QueryString value.
1
5856
by: Matt | last post by:
Morning all. Does anyone have code that will allow me to encrypt a URL in c# and decrypt it in php? Myself (c#) and a fellow developer (php) at another company have had a great deal of problems trying to parse encrypted data in the querystring. I'm using the DESCryptoServiceProvider and can encrypt/decrypt on my side in c# no probs. He's using a php script and can do they same, but we can't seem to encrypt using my c# code and
3
3366
by: TJS | last post by:
how can I encrypt the querystring values for a HyperLinkColumn ? in example below I would like to encrypt value for field1 ====================================================== <asp:HyperLinkColumn Text="View" DataNavigateUrlField="field1" DataNavigateUrlFormatString="page.aspx?idx={0}"></asp:HyperLinkColumn>
4
1167
by: .NET Follower | last post by:
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.573 / Virus Database: 363 - Release Date: 1/28/2004
3
3142
by: TJS | last post by:
Is there a way to encrypt the url string at the application level so code does not have to be added into every page or control ?
1
1695
by: Peter | last post by:
Hello! Is there a possibility in C# to encrypt and decrypt strings? I have a string which is passed to and ASP.NET webform as querystring. I would like to pass that string as encrypted so that users could not see it's content. When the string is passed to the webform it must be decrypted there. Please, could anybody tell me, is there ready methods to achieve that? The help is very much appreciated! Thanks!
4
1238
by: Gary Townsend (Spatial Mapping Ltd.) | last post by:
Good afternoon, I am building an application that uses ASP .NET, and Blackmoon FTP Server, My plan currently is to automate some user processes one of those processes is to allow them to download files in their FTP Root directories via HTTP for our clients who are behind firewalls which prevent them from using the FTP protocol. So to this end i have created a page which lists all thier files out, then provides a link that would spawn...
4
4203
by: Islamegy® | last post by:
I give up.. I tried everything to encrypt querystring and decrypt it back but this never success.. i use RSA encryption. I always get excption when Convert fromBase64String so i tried HttpUtitlity.UrlEncode() but i got bad data Exception.. Is there anyway to work around this??
1
2882
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hello to all I have a URL like this: www.servidor.com/pag.aspx?param1=v1&param2=v2 How it could encrypt and decrypt the parameters of a URL ?. Are ther some useful class that exists by codeproject or similars.
0
8323
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8838
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8739
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8613
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7351
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1732
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.