If you want to make it impossible for a user on the client side to know that name of the script, you cannot use a client-side solution, such as frames or ajax. One can always use the browser's development tools to get information about all HTTP requests that the browser makes, so none of the solutions that involve the browser actually requesting the script itself will work.
My response answered the question of how to hide the script name from the address bar. If you want to completely obfuscate the name of the script, you will have to do so on the server side, using Server.Transfer, or similar solution. However, I don't understand what this solution would get you, that renaming the original script will not.
FoxWeb Support Team
support@foxweb.com email |
Sent by Ali Koumaiha on 07/06/2012 04:07:24 PM:
But, one can right-click on the iframe and get the url from the property.. no?
even if you disable the right-click, with certain browser, one can still see/get the URL.
you don't think Server.transfer would work? from a static page with a generic content?
Sent by FoxWeb Support on 07/06/2012 03:35:03 PM:
You just don't want the script name to show in the address bar? What would you like to have in its place? You could simply point to a static HTML file, which will return a page with a single IFRAME, pointing to the script in question. The address bar will only display the URL of the static file, even if you navigate to different pages inside the IFRAME.
FoxWeb Support Team
support@foxweb.com email |
Sent by Joe Goldsmiith on 07/04/2012 04:15:32 PM:
Hello to everyone.
I need to hide a script name and a script name with a query string from the URL in the address bar. Might anyone have an idea about how to do this or some code I can use? I appreciate any help.
Joe