如何在地址栏中加密aspx页面名称 [英] how to encrypt aspx page name in address bar
本文介绍了如何在地址栏中加密aspx页面名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我使用response.Redirect();时是否可以对地址栏中的页面名称进行加密?从页面导航到另一页面的方法.
Is it possible to encrypt the page name in address bar while i am using response.Redirect(); method to navigate from one page to another.
推荐答案
我怀疑您无法完全得到所需的内容,但是这里有一些讨论和许多建议的方法此处: http://stackoverflow.com/questions/4230969/how-to-encrypt-the-address-bar-url-using-asp-net [
I suspect you won''t get exactly what you want, but there is some discussion and an number of suggested methods here: http://stackoverflow.com/questions/4230969/how-to-encrypt-the-address-bar-url-using-asp-net[^]
您可以使用URL重写混淆"用户看到的URL.
看看我的文章是如何做到的: How-to :创建一个简单而灵活的URL重写器 [
Hi,
You could "obfuscate" the URL the user sees by using URL Rewrite.
Look at my article how this is done: How-to: Create an easy and flexible URL-Rewriter[^]
By using URL Rewriting, you can hide the effective URL parameters from the client, that he only knows the user-friendly URL without any .aspx / query string parameters.
Hope this helps.
Have a nice day and happy coding,
Chris
我同意克里斯托夫的观点.您必须使用URL重写. ^ ]是文章编号.
I am agree with Christoph. You have to use URL Rewrite. Here[^] is numbers of Articles.
这篇关于如何在地址栏中加密aspx页面名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文