473,398 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Hide Real URL

How can i hide the real URL (i mean the Physical Application Path) of a web
page on the IE? I don't know if it is related to "HtmlEncode"? Can someone
give an example?

Thanks. !!
Jan 13 '07 #1
4 2642
I'm not sure what you mean by physical application path. Typically the
physical application path is not available on IE as it's a server function,
usually found through the server.mappath because it returns the physical
location of the page on the server, such as c:\inetpub\wwwroot\website.

If you mean the URL in the browser location window, there's no way to hide
this directly. The only way you could attempt it is to place the page within
a frame or an iframe, but these have a number of issues on their own. Also,
it's still possible to find out where the application is coming from because
you can just look at the html code for the iframe or frameset to determine
what the base url is.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Laurahn" <le*****@newsgroups.nospamwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
How can i hide the real URL (i mean the Physical Application Path) of a
web page on the IE? I don't know if it is related to "HtmlEncode"? Can
someone give an example?

Thanks. !!

Jan 13 '07 #2
You can use trickery to change the URL in the address, but it is not 100%. I
would not rely on this, as it fails more than it succeeds.

If you want to hide pages, you can create a single page as an "engine" to
serve up other pages (HTML, for example). If you want to create "fake" URLs,
you can use an HTTPHandler to redirect on your end to the page.

If you are trying to stop someone from saving the URL as a favorite, even a
faked URL can be saved.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

********************************************
Think outside the box!
********************************************
"Laurahn" <le*****@newsgroups.nospamwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
How can i hide the real URL (i mean the Physical Application Path) of a
web page on the IE? I don't know if it is related to "HtmlEncode"? Can
someone give an example?

Thanks. !!
Jan 13 '07 #3
Hi,

Laurahn wrote:
How can i hide the real URL (i mean the Physical Application Path) of a web
page on the IE? I don't know if it is related to "HtmlEncode"? Can someone
give an example?

Thanks. !!
Like Gregory said, URL rewriting is possible, but that still means that
the URL exists and can be reached.

As an add-on, HtmlEncode has nothing to do with this. This method is
there to encode special characters in their "web-safe" version. For
example, a white space character will be replaced by %20, which is the
corresponding code.

See
http://msdn2.microsoft.com/en-us/library/w3te6wfz.aspx

Greetings,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Jan 13 '07 #4
I haven't seen Server.Transfer mentioned yet.
If you use Server.Transfer to send another page to the user, the browser
(and therefore the user) is never informed of the real address of that new
page.
Here's more info:
http://SteveOrr.net/faq/TransferRedirect.aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net

"Laurahn" <le*****@newsgroups.nospamwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
How can i hide the real URL (i mean the Physical Application Path) of a
web page on the IE? I don't know if it is related to "HtmlEncode"? Can
someone give an example?

Thanks. !!
Jan 14 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

27
by: Fuli Chang | last post by:
I don't like other people see my html code. Is there a way to hide it? Thanks.
12
by: deko | last post by:
Is there any way to work around the blank space created by hidden divs? I'm trying to use a relatively postioned divs with show/hide behaviors to annotate an image. The divs show/hide...
6
by: Lea | last post by:
Not only does my boss want to hide files from some developers, he wants to be able to hide different files from different users. We already use source control to ensure that people cannot check...
4
by: Vic Spainhower | last post by:
Hello, Access has the ability to hide the key value in a drop-down menu. Is there a way in PHP to do the same thing? Thanks, Vic
64
by: Bayazee | last post by:
hi can we hide a python code ? if i want to write a commercial software can i hide my source code from users access ? we can conver it to pyc but this file can decompiled ... so ...!! do you...
1
by: TKapler | last post by:
I think i am quite experienced javascript programmer, but I got a problem. I have a selectbox with e.g. 17 optgroups with 100 options. I need a javascript code to hide some of that optgroups (i...
3
by: PhilTheGap | last post by:
Hello, I woulf like to hide an activeX object in a aspx page. The ActiveX is decalred statically in the HTML code, and I'e tried to set the html visible "property" to "false" in the javascript...
8
by: Elliot | last post by:
My codes contain several URLs which are supposed to be not disclosed. As some programs such as Luxx Roxxxx's .NET Reflector can 'disclose' my codes almost completely. Any suggestion to 'hide'...
9
by: moondaddy | last post by:
using c# 3.5 I have list of business objects which I will use in lists for databinding and I want to hide some of the fields so they don't show up in the list control. some of my list will be:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.