AutoHotkey Community

It is currently May 27th, 2012, 1:53 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: January 24th, 2010, 11:04 pm 
Just my random thoughts and ideas.. Please add comments and suggests.

When script is first run it calls a php page hosted on the internet, passing unique information about the PC the script is running on.

Possibly using bits from SW Copy Protection:
Code:
  PCdata = %COMPUTERNAME%%HOMEPATH%%USERNAME%%PROCESSOR_ARCHITECTURE%%PROCESSOR_IDENTIFIER%
   PCdata = %PCdata%%PROCESSOR_LEVEL%%PROCESSOR_REVISION%%A_OSType%%A_OSVersion%%Language%
   Fingerprint := XCBC(Hex(PCdata,StrLen(PCdata)), 0,0, 0,0,0,0, 1,1, 2,2)
   Together = %User%%Email%%Fingerprint%
   AuthData := XCBC(Hex(Together,StrLen(Together)), 0,0, k0,k1,k2,k3, l0,l1, m0,m1)


Url the script checks for could be in this format:
http://ip_address/check_script.php?id=AuthData

Chech_Script.php checks for a db for the entry of variable ID, if it doesn't find a macth for this PC's ID, then add to DB with todays date and expiry date.

Next time script is run, same process happens but as ID is now in DB expiry date is checked.

If script is run and its now the expiry date, how do I pass that back to ahk script for action ???

If no internet connection when script is run, error is returned and application exits... or script checks for registration details as per SW Copy Protection...


random ?? possible ?? anyone care to try doing it ?

FRAN :roll:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 25th, 2010, 12:39 am 
Offline

Joined: April 8th, 2009, 7:49 pm
Posts: 6071
Location: San Diego, California
My perspective is from the 'customer' viewpoint.

I prefer being asked for permission to access internet, not just access it.
When getting permssion and expiration, store permission locally.

If demo is used several times or after expiration contact 'permission'.
And inform your website how many times used.

There is also idea of using a email address to validate a user and assign them a allocation of 'runs'.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 25th, 2010, 1:12 am 
Offline

Joined: December 1st, 2006, 9:27 am
Posts: 460
Agreed. And also, if it is a program that is mainly/only used for internet stuff (downloader, streaming music, etc) the user should not have too much of a complaint for the app calling home, but if it is a prog that will never access the internet otherwise, the user might be upset that the prog HAS to phone home each time (especially if there is no connection available.)

That being said, this works. AHK stuff:
Code:
FileDelete, reg.txt
URLDownloadToFile, http://localhost/test.php?authid=0123456789, reg.txt
FileRead, txt, reg.txt
MsgBox, %txt%


PHP stuff:
Code:
<?php
$authid = $_GET["authid"];

#check if in db
if( $authid == "0123456789" )
{   echo "yay";
}
else
{   echo "nay";
}
?>


A better way would be to use URLDownloadToVar.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 25th, 2010, 8:40 am 
Thank You for you comments.

Not to sure if this is something I could do - Anyone else fancy having a go ?

FRAN


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 25th, 2010, 9:19 am 
Fran wrote:
Not to sure if this is something I could do

...good...

Fran wrote:
Anyone else fancy having a go ?

...NO!...I will never understand why people go out & find Open Source/Freeware (AutoHotkey) & want to put DRM/copy protection on a script written in it...WHY???...if you want closed-source/DRM/copy protection...plz go find "closed-source scripting language number 45", pay them $9000 & have them add DRM/copy protection to it...AutoHotkey is freeware...be free!...

I think it is an abomination to Open Source/Freeware to even WANT to write some DRM crap in it...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 25th, 2010, 9:51 am 
this software is available for us all to use.

BUT surely we have a right to protect our code

FRAN


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo, Bing [Bot], engunneer, JSLover, sjc1000 and 19 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group