URL Hiding

Last post 07-10-2007, 5:50 AM by prasath. 5 replies.
Sort Posts: Previous Next
  •  08-01-2006, 2:13 AM Post number 1497

    URL Hiding

    Hi,

    In my web application, I need to hide the URL from the end user. Please help me!!

    Regards,

    Pratap.

     

     

  •  08-01-2006, 10:39 AM Post number 1500 in reply to post number 1497

    Re: URL Hiding

    I'm a bit confused.  How will the user get to the application without the URL?  Or do you mean some other URL within the application?  Can you give us some more background on what you need to do?

     


    Looking for an advanced SQL Server 2005 book?

    Expert SQL Server 2005 Development
  •  08-02-2006, 6:41 AM Post number 1503 in reply to post number 1497

    Re: URL Hiding

    I hope I've guessed what you want correctly. If not, then my apologies all round.

    Web applications sometimes need to look like conventional windows applications. I guess you want a browser window without all the stuff at the top and bottom of the frams such as the URL (the 'location') Normally, the best approach is to open the window for your application using javascript by means of the window:open() method from your initial application window... This allows you control over whether the 'location' is visible (the input field for entering URLs directly into the browser), amongst a whole lot of other attributes that can be changed, such as toolbar visibility, directories, status-bar visibility, menubar visibility, window frame, width and height  to get the browser to look exacly how you want it to look.

    One thing you have to be particularly careful with. Popup-blockers will detect your use of the wondow:open method and will try to block it if it is not within and anchor (<a>).Various popup-blockers work in different ways, so you might need to experiment.

    Let me know if I'm on the right track about your requirements, and if so, whether you would like some sample code to get you started! As I use javascript directly rather than abstract all the nitty-gritty behind .NET, then Adam, or some other Guru had beeter chip in with the 'Softie' solution.

     

  •  08-02-2006, 10:55 AM Post number 1507 in reply to post number 1503

    Re: URL Hiding

    Assuming that Phil has determined your true requirements, there may be another solution -- perhaps someone can chime in on whether this is still a technology that's in use, but I remember something called HTA (HTML Applications?), which was a special HTML file you could have someone click that would launch, IIRC, a browser window with no features, and with greater system access (important for ActiveX, etc).  Something to consider, perhaps...

    Looking for an advanced SQL Server 2005 book?

    Expert SQL Server 2005 Development
  •  12-29-2006, 10:17 AM Post number 10299 in reply to post number 1497

    Re: URL Hiding

    If all that you want to do is conceal the 'real' URL from the end-user, you might want to try TinyURL (http://www.tinyurl.com) or think about URL rewriting (MOD_REWRITE for Apache; there is also a program for IIS that does it).
  •  07-10-2007, 5:50 AM Post number 33342 in reply to post number 1497

    Re: URL Hiding

    use javascript method onmouseover() clear the window.status.

    and httpcontext object to clear url bar in explorer.but this is in asp.net only

     

     

View as RSS news feed in XML