Lock browser url / address bar

Posted on 2007-08-01
Last Modified: 2013-11-07
Is there a way to lock the url so that a user cannot navigate out of the web application until they logout?
Question by:akobes05
    LVL 6

    Accepted Solution

    it's dependent of javscript.  On firefox they can disable altering of address bar, so it's possible to block these attempts.  But for most, you can do an to do a popup to your site and as part of that open you can make all the controls go away for this new window.  They can still close the window, but you give them a pretty tight view that way.
    search for onclick=" and you'll be able to get the syntax for all the parameters you want to turn off.
    LVL 12

    Assisted Solution

    Dim ie
    Set ie=createobject("internetexplorer.application")
    With ie
        .navigate "about:blank"
        Do Until .readyState=4
         WScript.Sleep 10
        .navigate "http://myapplication"
    End With

    Author Comment

    Only problem I have is that I am using the login control so it automatically displays the web page.  I just though there might be a way to reference the browser from the ASPX's page load event or ssomething.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now