| | |
Is it logical to change SQL permissions from 3rd party app?
Please support our MS SQL advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Aug 2008
Posts: 48
Reputation:
Solved Threads: 1
Hi,
recently i needed to query a table , however i was denied "Select " permissions (because permissions had not yet been exported as the db was).
Should my application enable for administrator to grant permissions , if that error occurs OR should permission granting be done through MS SQL server only?
(is it unnecessary,security risk or good practice?)
-Thanks
recently i needed to query a table , however i was denied "Select " permissions (because permissions had not yet been exported as the db was).
Should my application enable for administrator to grant permissions , if that error occurs OR should permission granting be done through MS SQL server only?
(is it unnecessary,security risk or good practice?)
-Thanks
It depends. If your application installs the SQL Server instance and maintains it then you can do what you need to ensure the application functions.
If you allow users to use any network instance of SQL then you're best off not to automate any security modifications as you risk pissing off a DBA.
I have both cases -- In the case where my app installs the DB I require the app to run with dbo permissions so it can adjust the database accordingly -- both schema and permissions.
In the case where I don't install the DB I don't make any changes, I just flash informative error messages with what they need to do to fix the problem.
If you allow users to use any network instance of SQL then you're best off not to automate any security modifications as you risk pissing off a DBA.
I have both cases -- In the case where my app installs the DB I require the app to run with dbo permissions so it can adjust the database accordingly -- both schema and permissions.
In the case where I don't install the DB I don't make any changes, I just flash informative error messages with what they need to do to fix the problem.
![]() |
Similar Threads
- Error Handling 3rd party software (VB.NET)
- 500 Server Error running 3rd party jar files (ColdFusion)
- How do I get msi net installer to register 3rd party ocx (VB.NET)
- Have novell authenticate using 3rd party ldap (Novell)
- Favorite 3rd party software with MySQL (MySQL)
- Transfering files (Storage)
- "All Info 'Gone' (moved)" CHALLENGING Question? (OS X)
- Running a 3rd party program from Python (Python)
- Changing the way how XP looks (Windows NT / 2000 / XP)
- starting 3rd party programs (VB.NET)
Other Threads in the MS SQL Forum
- Previous Thread: Putting OPTIONAL condition in where clause for select statement
- Next Thread: Interesting Unique Id generation Problem
| Thread Tools | Search this Thread |
autogrowth connectingtodatabaseinuse count cursor data database datepart dbsize deadlock delete_trigger highperformancecomputing hpc hpcserver2008 ibm iis loop maximum microsoft ms mssql multithreading news number permission query reporting result server services sets source sql sqlserver sqlserver2005 supercomputing uniqueid update view






