|
How
do I get the component to be network aware and what networks are
supported?
What
API is used to get the windows network user name?
Will
the security databases work with multiple applications at the same time?
Can
the IsgSecure component keep track of what a user has accessed in the
application?
When
using the 32-bit administration program to create new security
databases, I get a "unable to add alias" error. Is this a
known problem and what can I do to avoid this error?
Why do I get file not found
C:\DELPHI\BIN\ISGSEC2.PAS?
Why
do I get Error Occurred Initializing Security. Execution Ending?
What
should I do if I get the error "Cannot perform this operation on a
closed dataset" or "Field 'user_admin' not found" when
using the 32bit Administration utility?
Why
do I get the error "xx.dcu file not found" or "xx.pas
file not found" when running or compiling my application in Delphi
3.0
ANSWERS
How
do I get the component to be network aware and what networks are
supported?
The IsgSecure 2.0 component supports native Netware 3.x, 4.x networks
and Windows supported networks in 16 bit. Only Windows supported
networks are available in 32 bit (due to the lack of 32 bit netware
development
tools).
If the soAutoValidate flag is set to true in the Options property, the
soNetwareSupport and soWinNetSupport flags determine if the component
will use the current network user to validate the security. If the
soAutoValidate flag is set to false, the NWLogin method should be called
in the OnCreate method of the main form. The soNetwareSupport and
soWinNetSupport flags determine which network is checked.
Top
What
API is used to get the windows network user name?
To get the current Windows network user name, the BDE function
DbiGetNetUserName is used.
Top
Will
the security databases work with multiple applications at the same time?
Yes. This is one of the ways the component can make your life easier.
If you have a list of users in a security database, just add the
additional constants needed (or share the same constants) and give each
user the additional access rights necessary.
Top
Can
the IsgSecure component keep track of what a user has accessed in the
application?
Yes. Logging can be enabled in the setup dialog of the administrative
program. You can also view the Logging reports with the administrative
program. The logging has been enhanced in version 2.0 to provide more
information.
Top
When
using the 32-bit administration program to create new security
databases, I get a "unable to add alias" error. Is this a
known problem and what can I do to avoid this error?
Yes this is a known problem. The function used to physically add
aliases to the 16-bit BDE no longer works with the 32-bit BDE. This is
why the error is displayed. To avoid the problem, add the alias to the
32-bit BDE
before creating the new security databases. If you create the security
databases with the 16-bit administrative program and add the alias to
the 32-bit BDE then this will also work. There are no known side-effects
associated
with this problem.
Top
Why do I get file not found
C:\DELPHI\BIN\ISGSEC2.PAS?
The ISGSEC2.DCU file is located in a directory that is not part of
the search path. To fix this error click on the menu item Project then
Options. In the Project options dialog box click on the
Directories/Conditionals
tab and in the search path text box type in the location of the
isgsec2.dcu file. Click OK and do a Build All.
Top
Why
do I get Error Occurred Initializing Security. Execution Ending?
1) The password property is blank or has the wrong password.
2) The Alias property is blank or has the wrong alias.
3) You have not created the Security Database. You must create the
Security Database before the Security component can be used. See the
samples that came with the component, this will make building your first
Security database much easier. (Remember you will need to add the alias
ISGSEC_DEMO with the path pointing to the sample directory.)
Top
What
should I do if I get the error "Cannot perform this operation on a
closed dataset" or "Field 'user_admin' not found"
when using the 32bit Administration utility?
If the 32bit Administration utility is giving the error "Cannot
perform this operation on a closed dataset" or "Field 'user_admin'
not found" then use the 16bit version of the Administration utility
to create and build
the security database. Remember to use Delphi 2.0 database desktop to
set the Alias path to the location where you built the security
database.
Top
Why
do I get the error "xx.dcu file not found" or "xx.pas
file not found" when running or compiling my application in
Delphi.
The directory where you have installed the components is not listed
in the Delphi Library Search Path. If you select tools in the menu bar
of Delphi and then click on "Environment Options" Once you're
in the environment
options window click the "Library" tab and add the path to
your newly installed components to the Library path. Click OK when you
are done and now your application will compile and run with out the
'file not found' error.
Top
|