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. Is there a way to restrict the user from changing virtual directory name

Is there a way to restrict the user from changing virtual directory name

Scheduled Pinned Locked Moved ASP.NET
questionworkspace
8 Posts 3 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.
  • S Offline
    S Offline
    Sebastian T Xavier
    wrote on last edited by
    #1

    Is it possible to restrict the user from changing virtual directory name while installing a web application using a web setup? Regards

    Z 1 Reply Last reply
    0
    • S Sebastian T Xavier

      Is it possible to restrict the user from changing virtual directory name while installing a web application using a web setup? Regards

      Z Offline
      Z Offline
      ZurdoDev
      wrote on last edited by
      #2

      A side point, your code should not care what the virtual directory name is so you may want to look at how you are doing things instead.

      There are only 10 types of people in the world, those who understand binary and those who don't.

      S 1 Reply Last reply
      0
      • Z ZurdoDev

        A side point, your code should not care what the virtual directory name is so you may want to look at how you are doing things instead.

        There are only 10 types of people in the world, those who understand binary and those who don't.

        S Offline
        S Offline
        Sebastian T Xavier
        wrote on last edited by
        #3

        but this is a typical scenario....

        Z 1 Reply Last reply
        0
        • S Sebastian T Xavier

          but this is a typical scenario....

          Z Offline
          Z Offline
          ZurdoDev
          wrote on last edited by
          #4

          Quote:

          but this is a typical scenario....

          What is? Restricting people from changing the directory name? It isn't in my experience. It may be in yours but I am not sure how to restrict that. However, my point still stands, your code should not care what the virtual directory name is. Unless there is some real specific reason to, your code should reference paths using ~ for .net controls, etc.

          There are only 10 types of people in the world, those who understand binary and those who don't.

          J 1 Reply Last reply
          0
          • Z ZurdoDev

            Quote:

            but this is a typical scenario....

            What is? Restricting people from changing the directory name? It isn't in my experience. It may be in yours but I am not sure how to restrict that. However, my point still stands, your code should not care what the virtual directory name is. Unless there is some real specific reason to, your code should reference paths using ~ for .net controls, etc.

            There are only 10 types of people in the world, those who understand binary and those who don't.

            J Offline
            J Offline
            jkirkerx
            wrote on last edited by
            #5

            It's been awhile, but in the properties some where (F4), you can turn off the virtual directory input so it doesn't show during installation. But I don't see the point in that. Are you going to set it for them? That installation program is old school and out of date, and only works with metadata and IIS 6 compatibility and management installed with IIS 7+.

            S 1 Reply Last reply
            0
            • J jkirkerx

              It's been awhile, but in the properties some where (F4), you can turn off the virtual directory input so it doesn't show during installation. But I don't see the point in that. Are you going to set it for them? That installation program is old school and out of date, and only works with metadata and IIS 6 compatibility and management installed with IIS 7+.

              S Offline
              S Offline
              Sebastian T Xavier
              wrote on last edited by
              #6

              At last I have found this. Just removing installation folder node from user interface editor will do this for us. Thanks for your support. Regards Sebastian

              J 1 Reply Last reply
              0
              • S Sebastian T Xavier

                At last I have found this. Just removing installation folder node from user interface editor will do this for us. Thanks for your support. Regards Sebastian

                J Offline
                J Offline
                jkirkerx
                wrote on last edited by
                #7

                Oh, you found it finally, You would never know that it was there unless someone tells you, I could not remember the name of the property.

                S 1 Reply Last reply
                0
                • J jkirkerx

                  Oh, you found it finally, You would never know that it was there unless someone tells you, I could not remember the name of the property.

                  S Offline
                  S Offline
                  Sebastian T Xavier
                  wrote on last edited by
                  #8

                  :thumbsup: Yes. Thanks for your time. :-D

                  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