如何禁用或加密网址 [英] how to disable or encrypt a url
本文介绍了如何禁用或加密网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我需要编码来禁用url或对javascript中的url进行加密.在我的网站中,该url显示用户输入的所有值...
因此,我认为禁用或加密url是一个好主意....
因此,任何人都可以为此提供解决方案.....
Hi frnds,
I need a coding for disable a url or encrypting a url in javascript..in my site the url display all value that enter by user...
So disabling or encrypt the url will be a good idea i think....
So anyone give solution for this.....
推荐答案
参考:
encodeURI() [ encodeURIComponent() [ ^ ]函数
另请参阅CP文章:
针对ASP.NET的查询字符串加密 [ ASP.NET中的URL加密 [
Refer:
encodeURI()[^] and encodeURIComponent()[^] Function
Also refer a CP article:
Query string encryption for ASP.NET[^]
Another one:
URL Encryption in ASP.NET[^]
您需要 URL重写.
在这里阅读:
使用ASP.NET进行URL重写 [ MSDN:URL重写 [ URL路由 [
You need URL Rewriting.
Read here:
URL Rewriting with ASP.NET[^]
MSDN: URL Rewriting[^]
OR
Read about, In ASP.NET 4.0: URL Routing[^]
这篇关于如何禁用或加密网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文