byteboy
byteboy

Reputation: 117

Hide URL in ASP.NET application

I am developing an ASP.NET application. But i would like to hide the URL so user don't know on which page he or she standing. Is their any solution?

Upvotes: 0

Views: 1713

Answers (2)

Sami
Sami

Reputation: 3800

Use Server.Transfer . It doesn't change the URL.

Server.Transfer happens without the browser knowing anything, the browser request a page, but the server returns the content of another.

Server.Transfer() should be used when:

  • we don't need to show the real URL where we redirected the request in the users Web Browser
  • we want to transfer current page request to another .aspx page on the same server
  • we want to preserve server resources and avoid the unnecessary roundtrips to the server
  • we want to preserve Query String and Form Variables (optionally)

Upvotes: 1

Robert Columbia
Robert Columbia

Reputation: 6408

There is no solution unless you can force the user to browse only from a restricted environment in which you can control what software is installed or run. Even if you force the user to use a specific browser, they could use a tool like Fiddler to see what URLs they are going to.

Upvotes: 0

Related Questions