 |
|
 |
success = ImageAddCertificate(mFileHandle, pWinCert ,&nIndex);
free(pWinCert);
// Assuming that our certificate will be always at index 1
success = success && (nIndex == 0);
Why do you assume that nIndex is always zero?
|
|
|
|
 |
|
 |
for simplicity reasons. If you are not sure on which index your certificate will be you can use ImageEnumerateCertificates() and check every certificate for your data.
Manish Agarwal
manish.k.agarwal @ gmail DOT com
|
|
|
|
 |
|
 |
same type of technique used to develope,and more controls addionaly add to build in the security & as protection side.
and i have send ur mail one ideas.........
please reply ..
|
|
|
|
 |
|
 |
if hackers use some tool, they can jump out your logic statement..if
by using assembly...
Michael ~
|
|
|
|
 |
|
 |
Quite possible, this is just a concept for hiding the license info, especially for desktop applications. Most of the developer hides this info some where in hidden registry entries or in hidden file. I think, certificate also a good and easy place for hiding license info.
Manish Agarwal
manish.k.agarwal @ gmail DOT com
|
|
|
|
 |
|
 |
... if you make a secret about the existing of ImageRemoveCertificate (Removes the specified certificate from the given file - http://msdn2.microsoft.com/en-us/library/ms680214.aspx). In combination with your sample, the protection is useless,
because a small utility calling the ImageRemoveCertificate function removes the certificate and the next start add's a new one.
Daniel
|
|
|
|
 |
|
|
 |
|
 |
Is there anyway to copy protect a video DVD?
It doesnt have to be fool proof...but atleast not allowing the user to copy and paste the files into the harddisk.Is it possible?
Thanks
Godwin
|
|
|
|
 |
|
 |
sorry, I don't know how this can be done.
Manish Agarwal
manish.k.agarwal @ gmail DOT com
|
|
|
|
 |
|
 |
DVD video - CSS is the standard.
If you're speaking of some interactive computer course, that doesn't have to be played in DVD players, you can use usual protection solutions (SecuROM, SafeDisc etc.) which demand a CD/DVD to be in the drive.
--
"If you think that knowledge/education is expensive, would you try ignorance?"
Vatroslav 'Ziggy' Mihalj, B.Sc.Computer Science
Member of HUPRO, ACM, IEEE, IEEE Computer Soc. and Communications Soc.
|
|
|
|
 |
|
 |
No I mean copy protecting the DVD...preventing the DVD from just being copied.Doesn't have to be 100% fool proof..but just something that atleast works so not every lame computer user can copy.
Godwin
|
|
|
|
 |
|
 |
As I have already written, DVD video is protected by CSS. You can't use this protection unless you sign a contract with a big name (Columbia, Warner etc.). Each one of them has a secret key, officially approved, and DVD player (both HW and SW) vendors have to sign an NDA. Read http://en.wikipedia.org/wiki/Content_Scramble_System
Regarding CD-ROM/DVD-ROM protection methods, search Wikipedia and Google ("copy protection"), and find the solution you like.
--
"If you think that knowledge/education is expensive, would you try ignorance?"
Vatroslav 'Ziggy' Mihalj, B.Sc.Computer Science
Member of HUPRO, ACM, IEEE, IEEE Computer Soc. and Communications Soc.
|
|
|
|
 |
|
 |
If the installation program generates the certificate, what is to stop someone just installing the program on different computers? This method just seems to stop the manual copying of the executable to another computer.
|
|
|
|
 |
|
 |
Installation program will generate the certificate data based on 2 values-
i) Unique key (Product Key) for that installtion entered at the time of installtion.
ii) Unique IDs for local system (like CPU ID, graphics card ID, primary volume ID etc.)
Now only one who have installtion program and product key can install the software.
To further stop the piracy you need to manage some licencing server but this is restricted where the desktop machine is connected to internet.
Manish Agarwal
manish.k.agarwal @ gmail DOT com
|
|
|
|
 |
|
 |
Hi Manish,
Nice article..I like concept..
I also needed to do such work, but I had to use registry, that's why asking. With this I think we need not hide file or registry entry. But Certificate can be removed, that need to protect. But still Good Idea..
Missing thing: This is single threaded APIs.
Regards,
Sumit K.
Never consider anything impossible before trying to solve that..---Sumit Kapoor--- sumit_kapoor1980@hotmail.com
|
|
|
|
 |
|
 |
Yes, thats true certificate can be removed but you can always force your application to locate certificate and if not found stop the execution.
About single threaded or multithreaded, I am not getting how does it effect you.
Manish Agarwal
manish.k.agarwal @ gmail DOT com
|
|
|
|
 |
|
 |
Do You know about reghide (by Mark Russinovich).
Search for reghide.zip or try http://vmsone.com/~decuslib/vaxlanguageandtools/vlt99a/nt/
|
|
|
|
 |
|
 |
Oh..that's great , One more trick..I have checked code.
Thanks Dear..
Regards,
Sumit K.
Never consider anything impossible before trying to solve that..---Sumit Kapoor---
|
|
|
|
 |
|
 |
Maybe I'm misunderstanding the point of this article. I've modified your sample.dll with a hex editor and it still thinks nothing has changed. What are these routines supposed to do again?
Darren
|
|
|
|
 |
|
 |
Darren, I think he is saying that if you move the DLL to another PC it will fail. More information would be good.
Neville Franks, Author of Surfulater www.surfulater.com "Save what you Surf" and ED for Windows www.getsoft.com
|
|
|
|
 |
|
 |
This article shows a basic idea how to protect application's unauthorized copy by using PE certificates.
As I already mentioned that the actual use to put PE certificate in main executable and dlls through the application installation. On application startup we can check for a valid certificate. Any way for good hacker its not a tough job to break this.
Manish Agarwal
manish.k.agarwal @ gmail DOT com
|
|
|
|
 |
|
|
 |
|
 |
Thanks, but this is only APIs syntax and available API names. No examples. I am looking for some other books/URLs on copy protection and software watermarking.
Manish Agarwal
manish.k.agarwal @ gmail DOT com
|
|
|
|
 |
|
 |
Manish K. Agarwal wrote: Thanks, but this is only APIs syntax and available API names. No examples. I am looking for some other books/URLs on copy protection and software watermarking.
Nice Article Buddy! Cheers
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
 |