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. Check Aspx file integrity?

Check Aspx file integrity?

Scheduled Pinned Locked Moved ASP.NET
sysadminquestion
7 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.
  • R Offline
    R Offline
    robocodeboy
    wrote on last edited by
    #1

    Hi everyone, I have one question I can't seem to find an answer for... Is there a simple way to ensure an aspx file deployed to a remote server has not been modified? I'm thinking of something a bit like strong name signing: a way to detect at run time if the aspx file has been modified after deployment. I mean: I can compile every aspx.cs file into a dll and sign the resulting file, but it seems I cannot do something similar with aspx files. Thank you all in advance. Alberto

    N 1 Reply Last reply
    0
    • R robocodeboy

      Hi everyone, I have one question I can't seem to find an answer for... Is there a simple way to ensure an aspx file deployed to a remote server has not been modified? I'm thinking of something a bit like strong name signing: a way to detect at run time if the aspx file has been modified after deployment. I mean: I can compile every aspx.cs file into a dll and sign the resulting file, but it seems I cannot do something similar with aspx files. Thank you all in advance. Alberto

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      When you pre-compile the application the code behind and aspx files placed into the assembly, there are aspx files also but they are merely placeholders (even says so in the file) If you have are worried about someone changing the aspx after deployment then I think you have other concerns that need to be addressed first.


      I know the language. I've read a book. - _Madmatt

      modified on Wednesday, September 1, 2010 1:44 PM

      E 1 Reply Last reply
      0
      • N Not Active

        When you pre-compile the application the code behind and aspx files placed into the assembly, there are aspx files also but they are merely placeholders (even says so in the file) If you have are worried about someone changing the aspx after deployment then I think you have other concerns that need to be addressed first.


        I know the language. I've read a book. - _Madmatt

        modified on Wednesday, September 1, 2010 1:44 PM

        E Offline
        E Offline
        Ennis Ray Lynch Jr
        wrote on last edited by
        #3

        Mark Nischalke wrote:

        When you compile the application the code behind and aspx files placed into the assembly, there are aspx files also but they are merely placeholders (even says so in the file)

        IIRC that is a build option and not the default option?

        Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

        N 1 Reply Last reply
        0
        • E Ennis Ray Lynch Jr

          Mark Nischalke wrote:

          When you compile the application the code behind and aspx files placed into the assembly, there are aspx files also but they are merely placeholders (even says so in the file)

          IIRC that is a build option and not the default option?

          Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          Correct, I should have clarified that.


          I know the language. I've read a book. - _Madmatt

          R 1 Reply Last reply
          0
          • N Not Active

            Correct, I should have clarified that.


            I know the language. I've read a book. - _Madmatt

            R Offline
            R Offline
            robocodeboy
            wrote on last edited by
            #5

            Thank you Mark and Ennis! Yes, I know that I have a lot of things to watch for before. In fact, taking care of them is my current concern. I was simply investigating if it's possible to secure this particular aspect of a webapp. Thank you much for answering to my question. I think I can't find the exact option you two are referring to; could you tell me how it's called (I should probably RTFM, I know). Thank you much!

            N 1 Reply Last reply
            0
            • R robocodeboy

              Thank you Mark and Ennis! Yes, I know that I have a lot of things to watch for before. In fact, taking care of them is my current concern. I was simply investigating if it's possible to secure this particular aspect of a webapp. Thank you much for answering to my question. I think I can't find the exact option you two are referring to; could you tell me how it's called (I should probably RTFM, I know). Thank you much!

              N Offline
              N Offline
              Not Active
              wrote on last edited by
              #6

              Try this, http://msdn.microsoft.com/en-us/library/ms227430(v=VS.80).aspx[^]


              I know the language. I've read a book. - _Madmatt

              R 1 Reply Last reply
              0
              • N Not Active

                Try this, http://msdn.microsoft.com/en-us/library/ms227430(v=VS.80).aspx[^]


                I know the language. I've read a book. - _Madmatt

                R Offline
                R Offline
                robocodeboy
                wrote on last edited by
                #7

                Thank you. Your hint pointed me in the right direction: http://www.codedigest.com/Articles/VisualStudio/126_Web_Deployment_Project_for_Visual_Studio_2005_and_2008.aspx Nice!

                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