NetTalk Central

Author Topic: Existing desktop app with SecWin and NetTalk  (Read 7506 times)

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Existing desktop app with SecWin and NetTalk
« on: November 16, 2015, 12:26:25 PM »
Documentation says:

NOTE: You must set the encryption in the Global Extension on the General tab. This will be primed to a random value for you, however you may want to change it, especially if this application will be sharing the DSSW file with another application.

What is my option to have same users for both application or even to run both application on a same database?

Best regards,

Djordje Radovanovic

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Existing desktop app with SecWin and NetTalk
« Reply #1 on: November 16, 2015, 08:12:29 PM »
If multiple programs share a DSSW file then they must all use the same encryption values.

cheers
Bruce

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Existing desktop app with SecWin and NetTalk
« Reply #2 on: November 17, 2015, 05:23:13 AM »
But for existing users this encryption value is unknown to me!  :(

Is there any possibility to save user settings before I delete existing SecWin tables and then to import them into application again after creation process?

If not, I am in a pretty trouble.

Best regards,

Djordje Radovanovic

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Existing desktop app with SecWin and NetTalk
« Reply #3 on: November 17, 2015, 11:48:13 PM »
Hi Djordje,

I'm not sure I understand.
Let's go back a bit.
You have Secwin in an existing application right? so you can go into that application and see the encryption setting in that app right?

Now you want to make a new app?
So you set it to be the same setting?

cheers
Bruce

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Existing desktop app with SecWin and NetTalk
« Reply #4 on: November 18, 2015, 12:35:39 AM »
I have running application that has SecWin already implemented. I have customers that already use my application and they just want to extend their software with WEB solution.

Now I want to make new NT application from the same database and I want to maintain users from both application (desktop and NT) in same DSSW.

I hope that I make it clear with my poor English.

Best regards,

Djole

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Existing desktop app with SecWin and NetTalk
« Reply #5 on: November 18, 2015, 06:02:25 AM »
Right, that's what I thought. So I'm not sure I understand what the problem is... ?
What is not working?

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Existing desktop app with SecWin and NetTalk
« Reply #6 on: November 18, 2015, 08:30:02 AM »
Still nothing working.  :)
I did not do anything, just planing. But if I set encryption key for my Web application how will this fits to already existing data?
If I have to delete all SecWin tables and have to make new tables for all my users like I said, I am in a pretty trouble.

How on earth to administer all user settings for all my customers painless?

Just looking for solution... Or solution is near me and I could not see it.

Best regards,

Djole

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Existing desktop app with SecWin and NetTalk
« Reply #7 on: November 18, 2015, 10:34:45 PM »
>> Still nothing working.

define "nothing working".
Bear in mind that even if your apps share a DSSW file, all the users will start with No Access to the new app, until granted access in the new app.

>> But if I set encryption key for my Web application how will this fits to already existing data?

Set it the same as the existing program.

Cheers
Bruce

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Existing desktop app with SecWin and NetTalk
« Reply #8 on: November 20, 2015, 02:38:17 PM »
Bruce,
I already defined nothing works. "I did not do anything, just planing. "

you said: "Set it the same as the existing program. ", but in the existing program that field is empty.

So I have to defined for both programs new value for Encryption Key and that is what worries me.

Am I right?

Best regards,

Djole

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Existing desktop app with SecWin and NetTalk
« Reply #9 on: November 26, 2015, 01:54:48 AM »
If the field is currently empty then there is some functionality which is not available in Secwin.
You can use the web with the same setting, but that functionality remains unavailable.

Mostly the issue is around resetting passwords for users - that's not possible if you are using the default encryption key.

So yes, I think you probably have a problem.

cheers
Bruce

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Existing desktop app with SecWin and NetTalk
« Reply #10 on: December 01, 2015, 05:43:01 AM »
I started with adding Web solution to my desktop app. As I wrote earlier I have SecWin incorporated in my desktop app. Now I tried to connect to same database my web application. All data are available except SecWin option.
I put same encryption key in my both applications (web and desktop).
I deleted all secwin files and generated new files with desktop application and I am able to do login with my new credential but I am not able to login over Web application.

When I delete all security tables from database and try to create over the web application it does not create them. I set Create security files to Allow.

I read documentation several times but did not find any error. Where did I go wrong?

Best regards,

Djole

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Existing desktop app with SecWin and NetTalk
« Reply #11 on: December 01, 2015, 06:07:06 AM »
if I use DebugView when I try to Login I see following message:

[st] [netTalk][thread=3] SecwinRefreshTables. pAppnum is 0 so returning

Maybe it is of some use for detecting problem.

Regards,

Djole

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Existing desktop app with SecWin and NetTalk
« Reply #12 on: December 01, 2015, 09:58:35 PM »
Hi Djole,

I don't know what you did wrong, because I don't really know what you did <g>.
I recommend you experiment a bit perhaps with a trivial desktop TPS app and a trivial Web app.
Take one of the example dictionaries and wizard up apps for both.

Then you'll have something to play with, that you can also post here, and we can see what's what.

cheers
Bruce

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Existing desktop app with SecWin and NetTalk
« Reply #13 on: December 05, 2015, 04:46:57 PM »
Just for info.

My application is to big to be downsized to fit example. I am using SQL and that is another problem in making example.
I had to investigate the bug by myself and I found that I had some problems not related to NetTalk or SecWin.

Something I did not managed to do is using Wizard with SecWin. I imported files into my dictionary, I tried whatever was in documentation but no luck.

Thank you Bruce.

Best regards,

Djole