Security - what security?



I've been doing some investigation into a little problem with
privileges. And this is what I have found.

If you want to access an Informix database via ODBC and your normal
login and password are restricted then set up your odbc connection with
no user name and password and you can do anything.

This is what I did to prove it.

1. I created a new database called security.
2. I added two tables - opentab and securetab
3. I revoked all permissions on securetab from public
4. I granted connect to public.
5. From MS-Access I set up a new database
6. I used "link-tables" to add a new odbc connection with no username
or password, and to link both tables.
7. I could SELECT, INSERT, UPDATE, and DELETE from both tables.
8. I then deleted both tables from my access database. and used control
panel to remove the odbc connection.
9. I then repeated steps 5-7 but with a valid username and password.
10. I couldn't access the securetab.

So, using a username and password is secure but not using a username
and password gives full access.

Can anybody spot anything wrong in my reasoning?

BTW I have done this on IDS 9.4, running on AIX 5.2, and I was running
Windows XP with MS-Access 2002 SP3, and Informix-Client SDK version
2.81

regards

Malcolm

.



Relevant Pages

  • RE: [Maybe spam] Security - what security?
    ... Is your Windows username and password valid authentication on the AIX ... I created a new database called security. ... I revoked all permissions on securetab from public ... I used "link-tables" to add a new odbc connection with no username ...
    (comp.databases.informix)
  • Re: Pathname to access and usernames in shortcut
    ... >> network drive (for maintenance reasons initially, ... >> using usernames but no passwords. ... change their passwords within the access database (they won't know how ... >> gets the current username from the system and then calls access (via the ...
    (microsoft.public.access.security)
  • Re: Ignoring Case on directories
    ... clicking on that person's username, which resolves the case issue, but ... personalized settings, etc)? ... I don't know how I could accomplish this in a database. ... folders for themselves. ...
    (comp.lang.php)
  • Re: Getting NT User Login Names from Access 2000 or 2003
    ... time, i can recreate it in the blank database, per all your other thoughts. ... In the table setup and adding the bound SomeOtherField field to the ... >> form, plus binding the orig MyUserName field, defaulted to fOSUsername, to ... using the username field as ...
    (microsoft.public.access.formscoding)
  • Re: Ignoring Case on directories
    ... clicking on that person's username, which resolves the case issue, but ... personalized settings, etc)? ... folders for themselves. ... You are correct that this should all be done in a database. ...
    (comp.lang.php)