Discover how to encrypt url in javascript, include the articles, news, trends, analysis and practical advice about how to encrypt url in javascript on alibabacloud.com
Recently encountered the need to use JS to pass three values to another page, do not let the parameters directly displayed in the URL need to encrypt, how to handle?
Reply content:
Recently encountered the need to use JS to pass three values to
With the popularity of webpage Trojans, anti-virus software has begun to focus on various webpage Trojans, which makes many hackers very angry. However, hackers quickly found a way to solve the problem, which is to encrypt the Trojan-infected
This article will share with you a piece of javascript code for url parameter encryption and decryption, which is very easy to use. If you need it, you can directly take it away. Today, when you are working on an old project, you may encounter a
Now professional website more and more, many netizens have built up their own home on the net. But the hard work of the Web page was taken to makeover is a very sad thing, so everyone wants to protect their original works, for their own web page
Use ASP to encrypt your siteReaders who are learning to build a Web site may be concerned about the security of the site; maybe you are building a non-disclosure site, only system users can access your site. If you are compiling an ASP page, you can
Javascript encrypts and decrypts the parameter code in the url.
Today, when I was working on an old project, I encountered a need to encrypt and decrypt the parameters in the url in javascript. I found this useful code from the Internet:
Copy
Today, while doing an old project, I encountered a requirement to encrypt the parameters in the URL in JavaScript, and found this useful code from the Internet:
Copy Code code as follows:
Later encountered encryption and
Spaces-%20
"-%22
#-%23
%-%25
&-%26
(-%28
)-%29
+-%2B
,-%2c
/-%2F
:-%3a
; -%3b
=-%3d
>-%3e
? -%3f
@-%40
\-%5C
| -%7c
Passing special characters such as a plus sign in a URL
Some characters in the URL are escaped, such as the space is encoded into
Author: Sven TauteTranslator: riusksk (quange)
Because of the dynamic characteristics of JavaScript, it is easy to use it to confuse exploit code. Because JavaScript is an interpreted language and the website also provides source code to users, the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.