Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : Can FQDF.SEC file be eliminated or closed?Search Forum

Forum Home > FlexODBC - ODBC Driver for DataFlex Embedded DBMS > FlexODBC Forum

 New Topic 
 
 Post Reply 
[1]  
 Can FQDF.SEC file be eliminated or closed? 
 Author   Message 
  weinelb 
  253a8_bwlogon.jpg
 Group: Members 
 Posts: 4 
 Joined: 2007-05-01 
 Profile
 Posted : 2007-05-01 13:54:19

On FlexODBC v4.00.19 the read-only file "FQDF.SEC" appears to be always open. Even when there is no active ODBC session. And even when no security is required (i.e. no user login). Having a file open within the DataFlex "data" directory interferes with backup operations (even though no workstation has any DataFlex table open).

With no open DataFlex tables, and no application which uses FlexODBC running, the "FQDF.SEC" file still remains open. And if deleted then a new one immediately gets recreated.

Is there any way to eliminate the use of the "FQDF.SEC" file? Or is there a way to force a close of the file?

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-05-02 07:33:15

FQDF.SEC is created if one does not exists in the same folder where filelist.cfg is found each time FlexODBC is used. There is no turning it off. The default FQDF.SEC just grants permission for everything to everyone. The user has to take away rights to make it "On" (to switch the security feature on).

When using FlexODBC in default mode, FQDF.SEC can be deleted at any point of time.

 

  Top 
  weinelb 
  253a8_bwlogon.jpg
 Group: Members 
 Posts: 4 
 Joined: 2007-05-01 
 Profile
 Posted : 2007-05-02 09:38:11

Thanks for confirming "There is no turning it off." However, although "When using FlexODBC in default mode, FQDF.SEC can be deleted at any point of time" may be true, my testing shows that it is immediately recreated -- even if there are no applications which use either DataFlex or FlexODBC running on any workstation.

My test configuration is (1) server under Win2K with DataFlex database files, including "filelist.cfg", (2) one WinXP workstation with FlexODBC installed (with default security), but no application using either DataFlex or FlexODBC running and (3) one Win2K workstation with a DataFlex application (but not FlexODBC) installed, but no DataFlex application running.

In this situation the open, read-only "FQDF.SEC" file can be deleted on the server, but re-appears within a second as a new, open, read-only file. Now the issue is not the presence of the file, it is the fact that Windows 2000 shows the "FQDF.SEC" file as open that interferes with backups. So I must ask again:

  • Is there a way to force "FQDF.SEC" closed?

Thus far, the only way I have found to address this issue is to de-activate FlexODBC on the workstation where it is installed and then delete "FQDF.SEC" on the server.

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-05-02 11:10:13
If FQDF.SEC is deleted, another one will not get created until, in your case another user uses FlexODBC. Because the data is on your Win2K file server, any workstation can create FQDF.SEC, even if you just run the FlexODBC Setup Screen or configure a DSN. Maybe there's a logged out user session that still running FlexODBC on your server?  

  Top 
  Louisa 
  
 Group: Members 
 Posts: 10 
 Joined: 2007-05-29 
 Profile
 Posted : 2007-05-29 23:38:04
I have a data folder shared as readonly and because of this FQDF.SEC file, I have to set the folder security to read/Write. But I found out once the FQDF.SEC file is there, I can then change the folder security to READONLY again as long as I don't change the security setting in FlexODBC. Am I doing things right? 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-05-30 08:05:42

No, the data folder should always be read/write. FlexODBC can be set to operate in read-only mode if required instead.

 

  Top 
  weinelb 
  253a8_bwlogon.jpg
 Group: Members 
 Posts: 4 
 Joined: 2007-05-01 
 Profile
 Posted : 2007-05-31 10:18:31

"Because the data is on your Win2K file server, any workstation can create FQDF.SEC, even if you just run the FlexODBC Setup Screen or configure a DSN. Maybe there's a logged out user session that still running FlexODBC on your server?"

There is only one (1) workstation with FlexODBC installed. FlexODBC setup was not run after deleting FQDF.SEC file, nor was a DSN configured. Also there was no application which used FlexODBC (or the DSN) running on the only workstation with FlexODBC installed. But the file FQDF.SEC kept appearing after each delete.

The only way that I could eliminate FQDF.SEC was to deactivate FlexODBC on the only workstation where it was installed. Until there is some way to eliminate this issue (i.e. a way to assure that FQDF.SEC is not "open" -- read-only is not an issue -- when FlexODBC is not in use by any application) we will not be able to justify use of the product. This issue arose during feasibility testing and appears to make FlexODBC unsuitable for our use.

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-05-31 15:28:49
If any Active X or COM object uses FlexODBC, the FQDF.SEC will automatically be re-created if it's deleted. On one of my notebooks I have dynamic ai which is a web based product. Because it uses COM objects to link to FlexODBC I have a FQDF.SEC always active even though it doesn't exist in any data folder. Sounds like you have a web component or service also. If your application is running as or through a service (even as a Scheduled Task), FQDF.SEC will also exist. 

  Top 
  weinelb 
  253a8_bwlogon.jpg
 Group: Members 
 Posts: 4 
 Joined: 2007-05-01 
 Profile
 Posted : 2008-04-17 09:18:49
"If any COM object uses FlexODBC..."

No COM object was open, but it is possible that a DLL was still loaded (as the test app did not explicitly unload all its DLLs). However, the root problem was that having an OPEN file in the DataFlex database directory on the server interfered with our standard archiving tools and detection mechanisms for workstations having open DataFlex tables. Hence, we have had to abandon possible use of FlexODBC and have recommended against its use by other developers when asked about our experience.

Should you ever publish an API call to explicitly close "FQDF.SEC" then we may re-consider the product. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to