473,396 Members | 2,016 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Query String - encrypt

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.

How best can I handle this . Using hidden values still expose the value in
the page source.
Does HTMLEncode help any?

Thanks
Jawahar

Jul 19 '05 #1
2 15045
Here's one example of many.
http://www.4guysfromrolla.com/webtech/012000-1.shtml

Ray at home

--
Will trade ASP help for SQL Server help
"Jawahar Rajan" <jr****@nc.rr.com> wrote in message
news:rh**********************@twister.southeast.rr .com...
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.

How best can I handle this . Using hidden values still expose the value in
the page source.
Does HTMLEncode help any?

Thanks
Jawahar

Jul 19 '05 #2
you can use the reference from http://www.dalun.com/ftp/crypto.zip
to encrypt or hash your querystring.

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:OZ**************@TK2MSFTNGP11.phx.gbl...
Here's one example of many.
http://www.4guysfromrolla.com/webtech/012000-1.shtml

Ray at home

--
Will trade ASP help for SQL Server help
"Jawahar Rajan" <jr****@nc.rr.com> wrote in message
news:rh**********************@twister.southeast.rr .com...
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.

How best can I handle this . Using hidden values still expose the value in the page source.
Does HTMLEncode help any?

Thanks
Jawahar


Jul 19 '05 #3

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

Similar topics

4
by: Don Grover | last post by:
In asp how How can i pass a parameter value with a space in the value like this test.asp?catalog=aValue&lineitem=ladies cloths I get a %20 as a space in the browser window, Regards Don
2
by: Andy | last post by:
I haven't done any web work for over a year and for the life of me I cannot remember how to use a query string in a URL. I want the link to be page.aspx?ID=1 then pass 1 into a query like this ...
8
by: Phil Powell | last post by:
if (document.location.href.indexOf('?') >= 0) document.location.href = document.location.href.substring(0, document.location.href.indexOf('?')); if (document.location.href.indexOf('#') >= 0) {...
3
by: Dr. Oz | last post by:
Hi, I am trying to read in a query string from one page and build a link to another page based on the query string. Here's the code I am using to read in the query string: <script...
10
by: Onur Bozkurt | last post by:
I'am sending some data by the querystring. But I don't want it to be seen exactly because of security reasons. Is there a way to encrypt it and later decrypt when reading the querystring...? I...
4
by: -=franz=- | last post by:
is there a way to hide the query string? i receive a variable with a querystring from an external domain. i need to hide it cause it's a important data. thanks franz from italy
1
by: Simon | last post by:
Hi all, I need to maintain state between two pages but for two pissy reasons I can't use the Session object and the Query String isn't ideal because its too easy to tamper with. I'm wondering...
2
by: bhavik | last post by:
hi i want to know how to hide the values in query string in ASP.net. here i want to send the values from one page to another page through query string with out explicitly visible the values in...
7
by: Thirsty Traveler | last post by:
I have a question regarding the use of guery string variables. I understand this can be a security risk subject to "brute force" attacks. Is this true and, if so, what is the proper way to handle...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.