|
-
Nov 26th, 2002, 12:58 PM
#1
Thread Starter
Addicted Member
Accessing SQL database
I have written the code to access data from a database, but I wish to set up security - i.e. doesn't write to the db unless a particular method is called.
In this particular case, I have 2 methods that are ExecuteUpdate and ExecuteQuery. The second should not allow the user to update the database.
I've tried using the SQLSetConnectAttr funtion to set to read only, but the docs say that this may not block an attempted update. In fact, it doesn't.
Anybody know of another way to do this?
Thanks
HD
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|