View Full Version : Disk Securty
RizlaUK
08-02-2008, 07:36 AM
oh boy, this is going to cost some time
ok, my client wants the software im making for there company to use cd keys (i done that already) now they also want the software to only run if its on a dam cd, they seem to think if its installed on the machine someone can hack there system and nick there program, iv tried to explain but they still insist thats the way they want it, they have agreed to extra time/money to achive this, but its something iv never done before, im kinda stuck
dose anyone have a tried and tested method of secureing a AMS app on a cd/dvd rom,
i dont want ideas, i want solutions :yes
HMMurdock
08-02-2008, 03:02 PM
drive_type = Drive.GetType(_SourceDrive);
if (drive_type ~= DRIVE_CDROM) then
Dialog.Message("Notice", "This Application Must be run from the original CD ROM", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1)
Application.Exit()
end
RizlaUK
08-02-2008, 03:45 PM
lol, if only it were that easy
the point is, to protect the application from being copied from the disk in the first place,
but anyway, iv found what i need, StarForce (http://www.star-force.com)
HMMurdock
08-03-2008, 09:48 AM
lol, if only it were that easy
the point is, to protect the application from being copied from the disk in the first place,
lol, if only you had asked for that in your orginal post.
now they also want the software to only run if its on a dam cd
SiNisTer
08-11-2008, 06:21 AM
drive_type = Drive.GetType(_SourceDrive);
if (drive_type ~= DRIVE_CDROM) then
Dialog.Message("Notice", "This Application Must be run from the original CD ROM", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1)
Application.Exit()
end
lol. No offense dude but that is a really lame response to this thread:). This code aint gonna take a cracker less than a few minutes of his boring day to surpass...C'mon man...
@RizlaUK
Hey dude you might already know this but I think StarForce loads 32 bit drivers only and this may cause a conflict on 64 bit systems in that case. Infact an application may not run at all on a 64-bit system. I dont know if it has been updated yet thou but just chiming in. Good Luck
RizlaUK
08-11-2008, 09:00 AM
Hey Sin :yes
thanks for the info, i dident know that
the target for this app is x86 (32 bit) but its worth bearing in mind for future projects, cheers
HMMurdock
08-11-2008, 02:12 PM
lol. No offense dude but that is a really lame response to this thread:). This code aint gonna take a cracker less than a few minutes of his boring day to surpass...C'mon man...
Lol. No offense dude, but I responded with exactly what RizlaUK said his customer was looking for. But your take on the average cracker's day is appreciated.
SiNisTer
08-14-2008, 08:43 AM
@RizlaUK
Good to know that that info helped ya out pal:yes
Lol. No offense dude, but I responded with exactly what RizlaUK said his customer was looking for. But your take on the average cracker's day is appreciated.
Great. Glad I unintentionally could help u out too:yes. Keep that smile on baby!
thetford
08-19-2008, 04:45 PM
Hey Riz, I bought WTM CD protect, but I never really got around to using it. You might take a look at it.
Web site (http://www.webtoolmaster.com/copy-protection-service.htm)
I think WTM is not all that effective, but really there is no such thing as CD copy protection. Bearing that in mind, I think if you just go with minimal scheme you will acomplish your mission, nes pa?
drive_type = Drive.GetType(_SourceDrive);
if (drive_type ~= DRIVE_CDROM) then
Dialog.Message("Notice", "This Application Must be run from the original CD ROM", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1)
Application.Exit()
end
When I write it under the normal button script, it causes malfunction and it stops working even if the CD is in the driver.But where do you write that code??
Centauri Soldier
12-31-2008, 04:24 PM
A person could still make an image of the disk, hack it and then run it on a virtual drive. I run half my games on virtual drives cause I don't like switching cds out every time I switch games and let me tell you, it's not that hard to get an image of a disk. You might have to hard code your security measures into your app.
--================================================== =========================
--========================== GLOBAL PATH SECTION ============================
--================================================== =========================
if Table.Count(_CommandLineArgs) == 0 then
_AutoPlay = _SourceFolder.."\\AutoPlay";
_ExeFolder = _SourceFolder;
_Audio = _AutoPlay.."\\Audio";
_Buttons = _AutoPlay.."\\Buttons";
_Docs = _AutoPlay.."\\Docs";
_Flash = _AutoPlay.."\\Flash";
_Fonts = _AutoPlay.."\\Fonts";
_Icons = _AutoPlay.."\\Icons";
_Images = _AutoPlay.."\\Images";
_Plugins = _AutoPlay.."\\Plugins";
_Scripts = _AutoPlay.."\\Scripts";
_TempAPFolder = _AutoPlay.."\\Temp";
_Videos = _AutoPlay.."\\Videos";
elseif Table.Count(_CommandLineArgs) > 0 then
sSourcePath = _CommandLineArgs[Table.Count(_CommandLineArgs)];
iSourcePathFound = String.Find(sSourcePath, "SFXSOURCE:", 1, false);
if iSourcePathFound ~= -1 then
sTempPath = _CommandLineArgs[Table.Count(_CommandLineArgs)];
_SourceFolder = String.Replace(sTempPath, "SFXSOURCE:", "", false);
for x = 1, 2 do
iAPFolderLength = String.Length(_SourceFolder);
iErasePoint = String.ReverseFind(_SourceFolder, "\\", false);
sTempExeFolder = String.Left(_SourceFolder, iAPFolderLength - (iAPFolderLength - iErasePoint) - 1);
end
_ExeFolder = sTempExeFolder;
_AutoPlay = "AutoPlay";
_Audio = _AutoPlay.."\\Audio";
_Buttons = _AutoPlay.."\\Buttons";
_Docs = _AutoPlay.."\\Docs";
_Flash = _AutoPlay.."\\Flash";
_Fonts = _AutoPlay.."\\Fonts";
_Icons = _AutoPlay.."\\Icons";
_Images = _AutoPlay.."\\Images";
_Plugins = _AutoPlay.."\\Plugins";
_Scripts = _AutoPlay.."\\Scripts";
_TempAPFolder = _AutoPlay.."\\Temp";
_Videos = _AutoPlay.."\\Videos";
elseif intSourcePathFound == -1 then
_ExeFolder = _SourceFolder;
_AutoPlay = _SourceFolder.."\\AutoPlay";
_Audio = _AutoPlay.."\\Audio";
_Buttons = _AutoPlay.."\\Buttons";
_Docs = _AutoPlay.."\\Docs";
_Flash = _AutoPlay.."\\Flash";
_Fonts = _AutoPlay.."\\Fonts";
_Icons = _AutoPlay.."\\Icons";
_Images = _AutoPlay.."\\Images";
_Plugins = _AutoPlay.."\\Plugins";
_Scripts = _AutoPlay.."\\Scripts";
_TempAPFolder = _AutoPlay.."\\Temp";
_Videos = _AutoPlay.."\\Videos";
end
end
--if not Folder.DoesExist(_TempAPFolder) then
--Folder.Create(_TempAPFolder);
--end
--================================================== =========================
--========================== GLOBAL PATH SECTION END ========================
--================================================== =========================
Maybe that will help you determine the location.
RizlaUK
01-05-2009, 01:59 PM
i ended up useing starforce and passed the cost to the client, made a sub clause in the contract that i am not responsible for any copy protection, only bug fixes (if any, and none so far)
A person could still make an image of the disk, hack it and then run it on a virtual drive.
very true, there is no such thing as 100% secure thats why i dident want it in my contract
Centauri Soldier
01-05-2009, 06:17 PM
Good call on the clause.
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.