Hide page name in browser ?

  • Thread starter Thread starter Jurjen de Groot
  • Start date Start date
J

Jurjen de Groot

Hello,

Is there someway to hide the name of the page in the browser?
When a page is display the full address is shown like
http:\\www.mysite.com\Default.aspx, is there some setting (maybe in IIS /
ASP.NET or something) so the page is shown like http:\\www.mysite.com\ and
not showing aspx and possbile parameters.

TIA

Jurjen de Groot
G.I.T.S., Netherlands
 
I believe it does not show on 'default' pages. It only shows the page name
if it was specifically called by name (A post back defines the name)

Tom

--
==========================================
= Tom Vande Stouwe MCSD.net, MCAD.net, MCP
= 45Wallstreet.com (www.45wallstreet.com)
= (803)-345-5001
==========================================
= If you are not making any mistakes
..= ..you are not trying hard enough.
==========================================
 
Hello Jurjen,

This can be done by using frames. Having 2 frames so that the screen is spilt horizontally, and the top frame is of height 1px.
Then when links are clicked, and redirections are performed, you have to code them to make sure they appear in the main
frame, and the URL in the browser will always point to the frameset definition page.

Also, you could refer to URL Rewriting with ASP.NET (posted by Jim Davis before)

http://www.codeproject.com/aspnet/URLRewriter.asp
CodeProject Article

One of the most popular extensions to the Apache webserver has been mod_rewrite - a filter which rewrites URLs. For
example, instead of a URL such as

--> This http://www.apache.org/BookDetails.pl?id=5

you could provide a filter which accepts URL's such as

--> Becomes this http://www.apache.org/Book/5.html

and it will silently perform a server-side redirect to the first URL. In this way, the real URL could be hidden, providing an
obfuscated facade to the web page. The benefits are easier to remember URLs and increasing the difficulty of hacking a
website.

Thanks.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!From: "Jurjen de Groot" <[email protected]>
!Subject: Hide page name in browser ?
!Date: Thu, 24 Jul 2003 12:40:14 +0200
!Lines: 14
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <#[email protected]>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!NNTP-Posting-Host: 62.192.124.203
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:161674
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!Hello,
!
!Is there someway to hide the name of the page in the browser?
!When a page is display the full address is shown like
!http:\\www.mysite.com\Default.aspx, is there some setting (maybe in IIS /
!ASP.NET or something) so the page is shown like http:\\www.mysite.com\ and
!not showing aspx and possbile parameters.
!
!TIA
!
!Jurjen de Groot
!G.I.T.S., Netherlands
!
!
!
 
Back
Top