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. Modify browser url

Modify browser url

Scheduled Pinned Locked Moved ASP.NET
csharpasp-net
8 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.
  • Y Offline
    Y Offline
    yogesh m
    wrote on last edited by
    #1

    Hi Is there any way to make Address bar of browser in read only mode ..... using Asp.net 1.1 or Asp.net 2.0 Urgent ....

    _ N 2 Replies Last reply
    0
    • Y yogesh m

      Hi Is there any way to make Address bar of browser in read only mode ..... using Asp.net 1.1 or Asp.net 2.0 Urgent ....

      _ Offline
      _ Offline
      _AK_
      wrote on last edited by
      #2

      I don't think that you can make the URL readonly. But why exactly you want to make that readonly?

      Best Regards, Apurva Kaushal

      Y 1 Reply Last reply
      0
      • _ _AK_

        I don't think that you can make the URL readonly. But why exactly you want to make that readonly?

        Best Regards, Apurva Kaushal

        Y Offline
        Y Offline
        yogesh m
        wrote on last edited by
        #3

        let take example :- i have url like www.domainname.com/admin/Page1.aspx and www.domainname.com/sa/Page1.aspx and let say user is login to application having url in broswer www.domainname.com/admin/Page1.aspx and the same user know this other url of site i.e www.domainname.com/sa/Page1.aspx and if he made changes in browser address bar by replacing admin word by sa still he see that page and which i want to avoid ... Is there other way to avoid this ....

        _ 1 Reply Last reply
        0
        • Y yogesh m

          let take example :- i have url like www.domainname.com/admin/Page1.aspx and www.domainname.com/sa/Page1.aspx and let say user is login to application having url in broswer www.domainname.com/admin/Page1.aspx and the same user know this other url of site i.e www.domainname.com/sa/Page1.aspx and if he made changes in browser address bar by replacing admin word by sa still he see that page and which i want to avoid ... Is there other way to avoid this ....

          _ Offline
          _ Offline
          _AK_
          wrote on last edited by
          #4

          You can have check for the user credentials in the page load event i.e if a user is a normal user and trying to go on the admin page then you trap that in the load event and then redirect him to the login page. One other way is to rewrite the URL but again it won't be of that much effect as user can event track the rewritten URL also.

          Best Regards, Apurva Kaushal

          Y A 2 Replies Last reply
          0
          • Y yogesh m

            Hi Is there any way to make Address bar of browser in read only mode ..... using Asp.net 1.1 or Asp.net 2.0 Urgent ....

            N Offline
            N Offline
            Navi15
            wrote on last edited by
            #5

            check out this link Securing Directories with Role-based Forms Authentication http://www.codeproject.com/aspnet/formsroleauth.asp Hope this will help u Navin

            1 Reply Last reply
            0
            • _ _AK_

              You can have check for the user credentials in the page load event i.e if a user is a normal user and trying to go on the admin page then you trap that in the load event and then redirect him to the login page. One other way is to rewrite the URL but again it won't be of that much effect as user can event track the rewritten URL also.

              Best Regards, Apurva Kaushal

              Y Offline
              Y Offline
              yogesh m
              wrote on last edited by
              #6

              Thanks and regards ....

              _ 1 Reply Last reply
              0
              • _ _AK_

                You can have check for the user credentials in the page load event i.e if a user is a normal user and trying to go on the admin page then you trap that in the load event and then redirect him to the login page. One other way is to rewrite the URL but again it won't be of that much effect as user can event track the rewritten URL also.

                Best Regards, Apurva Kaushal

                A Offline
                A Offline
                Amit Agarrwal
                wrote on last edited by
                #7

                hello apurva, i need ur urgent help.sorry to interupting in any other thred. i have one problem.. i read so many article on usert control but not getting how to achieve this? Upload new modules i) Each module consist of ascx (asp/net user controls) & programming script and database script – modules can be any programming/database (PHP/mySQL or ASP/mySQL or ASP/Access or PHP/Access or Asp.net/MS SQL etc etc ) – every time a new module is added the super admin can specify the programming and or database (1) Admin should be able: (a) to upload ascx controls for backend administration and PHP User Modules with database script file (b) Publish Modules to all accounts or to select accounts only Plz Any One Can help me to do this..or give me any idea for doing this. i'm working on CMS Project. thanx

                1 Reply Last reply
                0
                • Y yogesh m

                  Thanks and regards ....

                  _ Offline
                  _ Offline
                  _AK_
                  wrote on last edited by
                  #8

                  always welcome.. :)

                  Best Regards, Apurva Kaushal

                  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