Article View: borland.public.cppbuilder.nativeapi
Article #12992Re: API EncryptFile, DecryptFile Function
From: Marcello Scala
Date: Sun, 02 Nov 2003 21:19
Date: Sun, 02 Nov 2003 21:19
37 lines
2320 bytes
2320 bytes
Sorry but this line: > you say so because you did never use this function Is not for you but for JD. Sorry. "Eugene Mayevski" <mayevski@eldos.org> ha scritto nel messaggio news:3fa5609c@newsgroups.borland.com... > Marcello Scala wrote: > > > you say so because you did never use this function. > > I wish you read netiquette rules before posting. > > > Use this function and you'll see that it doesn't work. > > It does when used correctly. First you need to have NTFS drive and use > this function only with files located on NTFS drive. Then, you must have > a valid X.509 certificate used for encrypting the file. X.509 > certificates is quite a complex topic, especially with regards to > CryptoAPI complexity and bugginess. > Third thing to remember is that your application must have enough access > rights to change attributes and encrypt/decrypt particular files. > > As already mentioned, without knowing what GetLastError returns, it is > not possible to say anything. But in any case, you won't find "a simple > example". > > -- > Eugene Mayevski > EldoS Corp., CTO > Networking and security solutions, custom development services > http://www.eldos.com >
Technical Details
Message-ID:
<3fa574e1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fa4de7d@newsgroups.borland.com> <3fa506eb$1@newsgroups.borland.com> <3fa52d20@newsgroups.borland.com> <3fa5301a@newsgroups.borland.com> <3fa53dc3@newsgroups.borland.com> <3fa5609c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,1d61b57c27398563 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-02 13:39:04 PST From: "Marcello Scala" <mscala@email.it> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fa4de7d@newsgroups.borland.com> <3fa506eb$1@newsgroups.borland.com> <3fa52d20@newsgroups.borland.com> <3fa5301a@newsgroups.borland.com> <3fa53dc3@newsgroups.borland.com> <3fa5609c@newsgroups.borland.com> Subject: Re: API EncryptFile, DecryptFile Function Date: Sun, 2 Nov 2003 22:19:16 +0100 Lines: 39 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 80.180.222.85 Message-ID: <3fa574e1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067807969 80.180.222.85 (2 Nov 2003 13:19:29 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail