SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Update SQL table using Excel
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mzadok
Starting Member

2 Posts

Posted - 03/12/2014 :  07:07:34  Show Profile  Reply with Quote
Hi,
I use Excel to extract data from SQL using Excel VBA with SQL queries embedded into my VBA code. Recently, IT department raised a security issue. They say that in the same way you query the data from Excel, you could in theory incorporate SQL update query and update the database, thus bypassing the native application being the ERP system. My question is - is it possible to prevent update of SQL tables using Excel or MS Access forthat matter. In other words, is there an application based security settings in SQL that can determine which applications can update SQL tables. The SQL database is the back end of the ERP system. It must be noted that users have read/write access to the SQL tables as ERP users so we can't restrict tables update via user profile, it needs to be application based restriction I believe.

Thank you for you response.

Matti

James K
Flowing Fount of Yak Knowledge

3589 Posts

Posted - 03/12/2014 :  10:30:44  Show Profile  Reply with Quote
There is no application based security in SQL Server as far as I know. So if your end users have logins that have access to a database table, they will be able to access that table using Excel as well.
Go to Top of Page

mzadok
Starting Member

2 Posts

Posted - 03/12/2014 :  10:49:44  Show Profile  Reply with Quote
Thank you James for taking the time to answer my question
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000