You could just roll your own based on things like hard drive serial no., n/w
card mac address etc.
I've done this before and also used Turbopower's Onguard - open source now?
The simplest way for your web server to write a text file would be to use an
asp script and use the FileSystemObject to write the html form values.
e.g.
<%
Set FileObject = Server.CreateObject("Scripting.FileSystemObject")
TestFile = "c:\test.txt"
Set OutStream= FileObject.CreateTextFile (TestFile, True, False)
OutputString = "blah blah " & Now()
OutStream.WriteLine OutputString
Response.Write OutputString & "<br>"
Set OutStream = Nothing
%>
regards,
Steve
> -----Original Message-----
> From: Ross Levis [mailto:[EMAIL PROTECTED]
> Sent: Monday, 10 November 2003 12:07 p.m.
> To: Multiple recipients of list delphi
> Subject: [DUG]: Copy protection/program registration
>
>
> This may be a little off topic.
>
> I need to add higher copy protection to my apps which are
> available for
> sale over the internet. I'm thinking of a system where my program
> generates a unique code based on some details of the PC, perhaps based
> on the Windows serial number or something reasonably static per PC.
>
> I have a Microsoft IIS web server running here on XP Pro
> connected full
> time to the internet, but I have no web server development
> knowledge at
> all. I was thinking of providing a web page for registration which
> would ask for some details including the unique code and save
> this info
> to the server hard disk in a simple text file. I do know how to write
> an html page which asks for input but I have no idea how I
> can save this
> to the hard disk. Any ideas?
>
> I can then write a program to parse the text files and create
> a key code
> which is emailed to them. I can do this bit ok.
>
> Regards,
> Ross Levis.
> --------------------------------------------------------------
> -------------
> New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.534 / Virus Database: 329 - Release Date: 31/10/2003
>
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/