Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 5 of 5 total |
How can i check if a table is password protected vith V4 ? |
Mon, Sep 21 2009 6:57 AM | Permanent Link |
"M.Sandra" | See subject.
Thanks! |
Mon, Sep 21 2009 9:54 AM | Permanent Link |
"Robert" | "M.Sandra" <nospam@nospam.com> wrote in message news:CF7A6D5E-4013-431B-A8AD-70337986BFB0@news.elevatesoft.com... > See subject. > > Thanks! Check table.encrypted property. Table does not have to be open. Robert |
Mon, Sep 21 2009 10:35 AM | Permanent Link |
"Alessandra" | Robert wrote:
> Check table.encrypted property. Table does not have to be open. thanks Robert! so, to check if the password is encrypted with the proper password i should.. function properpassword(t:tdbisamtable):boolean; begin result:=t.encrypted; if proper then begin session.removeallpasswords; session.addpassword('mypword'); try t.open; t.close except result:=false; end; end; end; right ? Sandra |
Mon, Sep 21 2009 10:36 AM | Permanent Link |
"Alessandra" | Alessandra wrote:
> so, to check if the password hem.. the *table* :DDD Sandra |
Mon, Sep 21 2009 11:59 AM | Permanent Link |
"Robert" | "Alessandra" <alessandra@sarasoft.net> wrote in message news:5F6BC628-49C3-4C67-B78C-84D6A5114097@news.elevatesoft.com... > Robert wrote: >> Check table.encrypted property. Table does not have to be open. > > thanks Robert! > > so, to check if the password is encrypted with the proper password i > should.. > > function properpassword(t:tdbisamtable):boolean; > begin Looks good to me, understanding of course that at the end of your function you have modified the password list. Robert > result:=t.encrypted; > if proper then begin > session.removeallpasswords; > session.addpassword('mypword'); > try t.open; t.close except result:=false; end; > end; > end; > > right ? > > Sandra |
This web page was last updated on Friday, March 29, 2024 at 03:30 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |