Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 5 of 5 total |
Passwords |
Thu, Feb 19 2009 9:45 AM | Permanent Link |
"Rita" | Passwords on CS stuff is a breeze, I have never
needed one to encrypt tables before in a local desktop application. I set the password in Dbsys and then went looking for info for calling it in code. I found this FAQ on the site, but I couldnt figure it. I have encrypted certain tables in order to protect them from unauthorized access. How do I automatically open these tables up in my application without the user seeing a password prompt ? I just want the app to run without the pword dialog firing, any examples or scouse translations (John Lennon spoke scouse) Thanks Rita Attachments: arrow.png |
Thu, Feb 19 2009 10:04 AM | Permanent Link |
"Robert" | "Rita" <no@spam.com> wrote in message news:34B48DA4-9385-4D1A-9601-7661D5506DD2@news.elevatesoft.com... > I have encrypted certain tables in order to protect them from unauthorized > access. How do I automatically open these tables up in my application > without the user seeing a password prompt ? > Hardcode the passwords in your app, and add them the the session before you access the tables. The procedure is addpassword (I think). Robert |
Thu, Feb 19 2009 4:51 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Rita,
<< I found this FAQ on the site, but I couldnt figure it. I have encrypted certain tables in order to protect them from unauthorized access. How do I automatically open these tables up in my application without the user seeing a password prompt ? >> The answer was under "Opening Encrypted Tables": Opening Encrypted Tables When a table is marked as encrypted and given a password, its contents are then encrypted using this password and any subsequent attempts to open the table only succeed if this password (in this order): 1) Is present in the in-memory list of passwords for the current TDBISAMSession component. You can use the AddPassword, RemovePassword, and RemoveAllPasswords methods to add and remove passwords for the current session. 2) Is provided on-demand through the OnPassword event of the current session. 3) Is provided on-demand through a visual password dialog that will be displayed if the OnPassword event is not assigned an event handler. The AddPassword method is what you want. Just call it before opening any encrypted tables, and you'll be all set. -- Tim Young Elevate Software www.elevatesoft.com |
Thu, Feb 19 2009 5:58 PM | Permanent Link |
"Rita" | "Robert" <ngsemail2005withoutthis@yahoo.com.ar> wrote in message news:80755ADF-F36B-4A97-A815-95EF03279507@news.elevatesoft.com... > Thanks Robert. |
Thu, Feb 19 2009 6:00 PM | Permanent Link |
"Rita" | "Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message news:6E9C9A2A-6DA0-4230-ABC6-3CE3331CAB05@news.elevatesoft.com... > > The AddPassword method is what you want. Just call it before opening any > encrypted tables, and you'll be all set. > Thanks Tim I re-read the faq after Roberts answer. |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |