Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to restrict entry in address bar of browser

how to restrict entry in address bar of browser

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rizwan afsar
    wrote on last edited by
    #1

    Please tell me how can i restrict user from entering a url in address bar directly to open a web page, Or even if he enters a url he will not be allowed to view that page Thanx in advance

    K C 2 Replies Last reply
    0
    • R rizwan afsar

      Please tell me how can i restrict user from entering a url in address bar directly to open a web page, Or even if he enters a url he will not be allowed to view that page Thanx in advance

      K Offline
      K Offline
      kirthikirthi
      wrote on last edited by
      #2

      If it is a application webpage so you can use sessions to redirect the page asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf

      1 Reply Last reply
      0
      • R rizwan afsar

        Please tell me how can i restrict user from entering a url in address bar directly to open a web page, Or even if he enters a url he will not be allowed to view that page Thanx in advance

        C Offline
        C Offline
        CWIZO
        wrote on last edited by
        #3

        You can prevent your user from viewing your fiels directly. But you can not prevent a user from entering a URL into a browser. It just can't be done. And if it could be done somethign would be terribly wrong, don't you think? -------------------------------------------------------- My development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

        D 1 Reply Last reply
        0
        • C CWIZO

          You can prevent your user from viewing your fiels directly. But you can not prevent a user from entering a URL into a browser. It just can't be done. And if it could be done somethign would be terribly wrong, don't you think? -------------------------------------------------------- My development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

          D Offline
          D Offline
          Daniel Santillanes
          wrote on last edited by
          #4

          well... you actually can, you simply hide the address bar ;), but you're right, you can't prevent input in the address bar. daniero

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups