Not sure if this is going to makle much sense, but you guys seem to be the smartest bunch on the net that I frequent on message boards so here it goes 
Working on creating a web app, most likely will end up using ASP (note: dont bother with ASP vs PHP vs whatever arguments), ASP is what I know best at the moment, and it needs to be done in a short timeframe..
Anywho, I need to try and figure out how to copyright protect the software, and as its done in ASP the source code is wide open, which raises the problem of simply being able to comment out a few lines here and there to work around it.
However, that is only part of the problem, the first part is - How the hell can I generate a serial #/key, and validate it?
Its something i've never had to do or looked into doing before, so it has me scratching my head.
Basicly, I want to generate the serial # based on the domain-name that will be used to for the site.
So, I guess the proccess is something like.
-> Customer sends is domain name
-> We generate serial # based on name, send it back to them
-> they enter key into software
-> (some how, figure out how to not make this easy to get around) app checks serial key, checks address vs key, see if things are kosher, and lets things gel ...
However, its the generating the key, and then validating the key which is kinda stumping me, and cant seem to find any good examples on the net unless I'm looking in all the wrong places
anyone got any advice?