If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > Pervasive or Application issue?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-25-06, 00:16
gyatabe gyatabe is offline
Registered User
 
Join Date: Jan 2006
Posts: 3
Pervasive or Application issue?

Hi,

I am trying to troubleshoot a security issue we have with our accounting software. The software is AccPack. The back end is Pervasive SQL (don't know version, yet). The issue we are having is that the only way personnel can write to the database files is if the Windows everyone group is applied to the database files with write permissions. This seems to be required even when the user's domain login credentials have write permissions to the files. If we take off write permissions for the files from the Everyone group, the users cannot write data to the files. It's only when the Everyone group has write permissions that users can actually update the files. Does this sound to anyone like a Pervasive SQL setting or something in the application. I am asking this because I have never used Pervasive and don't know anything about it. Any help would be appreciated, including pointers to good Pervasive tech resources. Thanks in advance.

Grant
Reply With Quote
  #2 (permalink)  
Old 05-25-06, 08:26
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
The best resources for Pervasive information is the Pervasive site (http://www.pervasive.com).
As far as your question, what error is returned when the Everyone group doesn't have rights?
Pervasive, in most cases, uses the user's OS rights. If the user has rights, it should work.
Here's a test:
1. Remove the Everyone Group from the Pervasive DEMODATA (in PVSW\DEMODATA on the server).
2. Give rights to a specific user.
3. Log in on a client with the user from step 2.
4. Open the Pervasive FUnction Executor.
5. Open the Class file (PVSW\DEMODATA\CLASS.MKD).
6. Change the "Op Code" to 12 (Get First) and press Execute.
7. Change the "Op Code" to 3 (Update) and press Execute.
Does that return an error code? If so, what is it? If it works, the problem may be in the AccPac application.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #3 (permalink)  
Old 05-26-06, 10:44
Dave Holt Dave Holt is offline
Registered User
 
Join Date: Dec 2002
Posts: 13
Talking Security

Make sure that the "system" account on the server has full control of the files as well as the user.
You will then be able to remove the "everyone" group.
__________________
Dave Holt
IRIS Enterprise Software Ltd
Reply With Quote
  #4 (permalink)  
Old 05-27-06, 13:39
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Good point Dave. That is especially true if you are using NTFS (as opposed to FAT32).
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On