Check Aspx file integrity?
-
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
-
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
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
-
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
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
-
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
Correct, I should have clarified that.
I know the language. I've read a book. - _Madmatt
-
Correct, I should have clarified that.
I know the language. I've read a book. - _Madmatt
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!
-
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!
Try this, http://msdn.microsoft.com/en-us/library/ms227430(v=VS.80).aspx[^]
I know the language. I've read a book. - _Madmatt
-
Try this, http://msdn.microsoft.com/en-us/library/ms227430(v=VS.80).aspx[^]
I know the language. I've read a book. - _Madmatt
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!