Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 13 of 13

Thread: Disk Securty

  1. #1
    Join Date
    May 2006
    Posts
    5,380

    Disk Securty

    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
    Open your eyes to Narcissism, Don't let her destroy your life!!

  2. #2
    Join Date
    Mar 2005
    Location
    Indianaoplis, IN USA
    Posts
    127
    Code:
    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

  3. #3
    Join Date
    May 2006
    Posts
    5,380
    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
    Open your eyes to Narcissism, Don't let her destroy your life!!

  4. #4
    Join Date
    Mar 2005
    Location
    Indianaoplis, IN USA
    Posts
    127
    Quote Originally Posted by RizlaUK
    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.
    Quote Originally Posted by RizlaUK
    now they also want the software to only run if its on a dam cd

  5. #5
    Join Date
    Mar 2007
    Posts
    186
    Quote Originally Posted by HMMurdock View Post
    Code:
    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

  6. #6
    Join Date
    May 2006
    Posts
    5,380
    Hey Sin

    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
    Open your eyes to Narcissism, Don't let her destroy your life!!

  7. #7
    Join Date
    Mar 2005
    Location
    Indianaoplis, IN USA
    Posts
    127
    Quote Originally Posted by SiNisTer View Post
    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.

  8. #8
    Join Date
    Mar 2007
    Posts
    186
    @RizlaUK
    Good to know that that info helped ya out pal

    Quote Originally Posted by HMMurdock View Post
    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. Keep that smile on baby!

  9. #9
    Join Date
    Feb 2005
    Location
    Birmingham, Alabama
    Posts
    175
    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

    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?

  10. #10
    Join Date
    Feb 2008
    Posts
    9
    Quote Originally Posted by HMMurdock View Post
    Code:
    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??

  11. #11
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    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.

    Code:
    --===========================================================================
    --========================== 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.
    Last edited by Centauri Soldier; 12-31-2008 at 03:27 PM.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  12. #12
    Join Date
    May 2006
    Posts
    5,380
    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
    Open your eyes to Narcissism, Don't let her destroy your life!!

  13. #13
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Good call on the clause.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

Similar Threads

  1. Replies: 3
    Last Post: 10-25-2005, 11:42 AM
  2. PROBLEM: Setup Requests Disk 2 in a Single File Setup
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-09-2002, 02:04 PM
  3. Longtime to disk startup
    By pagedown in forum AutoPlay Media Studio 4.0
    Replies: 3
    Last Post: 09-25-2002, 11:27 PM
  4. Multiple disk install
    By Terry Vance in forum Setup Factory 6.0
    Replies: 0
    Last Post: 04-01-2002, 12:46 PM
  5. Disk 2 Error After CD Burn
    By Chrisco in forum Setup Factory 5.0
    Replies: 3
    Last Post: 01-09-2001, 02:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts