PC Review


Reply
Thread Tools Rate Thread

How to design a cryptographic "check" of a page's integrity using .NET?

 
 
Guest
Posts: n/a
 
      10th Aug 2005
I have an idea for a way to help maintain my websites, and I'm hoping
someone can help me figure out how to implement it using C#, VB.NET, or
elements of the .NET framework. I'd be putting this on ASP.NET pages.

There's always the possibility that webpages can a) get defaced, or b) go
offline for one reason or another.

I was thinking that there's probably some way to generate a unique key based
on the content of a page. My program would validate page integrity by
comparing the generated key to a previously generated value. The easy and
obvious answer would be to do a simple byte count -- and that might be
sufficient. Another easy answer is to do a byte-for-byte comparison of an
older content stream to the new. But just for the sake of my curiousity and
our learning, can someone suggest a way that the content of the page could
be analyzed to generate a unique key?

Are there tools in the .NET framework to do this?

If I were to do this byte-for-byte comparison, is there anything more
advanced in .NETland than [if string x is identical to string Y then return
true]?

Thanks for any suggestions...


 
Reply With Quote
 
 
 
 
Brock Allen
Guest
Posts: n/a
 
      10th Aug 2005
I googled for intrusion detection systems and got a list of IIS related ones:

http://www.windowsecurity.com/softwa...ion-Detection/

-Brock
DevelopMentor
http://staff.develop.com/ballen



> I have an idea for a way to help maintain my websites, and I'm hoping
> someone can help me figure out how to implement it using C#, VB.NET,
> or elements of the .NET framework. I'd be putting this on ASP.NET
> pages.
>
> There's always the possibility that webpages can a) get defaced, or b)
> go offline for one reason or another.
>
> I was thinking that there's probably some way to generate a unique key
> based on the content of a page. My program would validate page
> integrity by comparing the generated key to a previously generated
> value. The easy and obvious answer would be to do a simple byte count
> -- and that might be sufficient. Another easy answer is to do a
> byte-for-byte comparison of an older content stream to the new. But
> just for the sake of my curiousity and our learning, can someone
> suggest a way that the content of the page could be analyzed to
> generate a unique key?
>
> Are there tools in the .NET framework to do this?
>
> If I were to do this byte-for-byte comparison, is there anything more
> advanced in .NETland than [if string x is identical to string Y then
> return true]?
>
> Thanks for any suggestions...
>




 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lost the "Design, Split, Code, Preview" buttons in the "Page View" GSOutdoorsman Microsoft Frontpage 1 22nd Apr 2009 07:58 AM
What does "Page Load" and "Page Unload", "Page Life Cycle" exactlymean???? lander Microsoft ASP .NET 5 3rd Mar 2008 02:06 PM
gray color in design view on R and L side of "page" Soren Microsoft Frontpage 3 19th Jun 2006 12:03 AM
"conditional" or "partial" referential integrity? =?Utf-8?B?Z2FuanVsYQ==?= Microsoft Access Database Table Design 9 30th Nov 2005 05:21 PM
When a page is save, the "design, code, split, preview" options a. =?Utf-8?B?bW9yZWJpdHM=?= Microsoft Frontpage 12 10th Feb 2005 06:00 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:40 PM.