473,394 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

C# SqlClient or C# OLE Access

Hi,

In our old Aplication, we used to have MSAccess MDB in every client's PC,
The AP calls the MDB, then by ODBC connection the MDB will call the SQL
Server.
We have this way for years.
But now we are thinking if our new Application sould apply that approach,
or we have our new AP to connect to the SQL Server directly.
Given that our environment is ASPNet C# and SQL Server 2000 in Windows
Server 2003.
Which way will be more secure?
Any help will be appreciated.

Jason
Nov 17 '05 #1
4 4479
Hi,

Connect directly to SQL server, the performance otherwise will suffer.

And frankly I do not see how the otherway will help with the security.
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Jason Huang" <Ja************@hotmail.com> wrote in message
news:OE*************@TK2MSFTNGP10.phx.gbl...
Hi,

In our old Aplication, we used to have MSAccess MDB in every client's PC,
The AP calls the MDB, then by ODBC connection the MDB will call the SQL
Server.
We have this way for years.
But now we are thinking if our new Application sould apply that approach,
or we have our new AP to connect to the SQL Server directly.
Given that our environment is ASPNet C# and SQL Server 2000 in Windows
Server 2003.
Which way will be more secure?
Any help will be appreciated.

Jason

Nov 17 '05 #2
Hi Jason,

I agree with Ignacio. Go with SqlClient - it is faster and has more
features.
What do you mean by secure?

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"Jason Huang" <Ja************@hotmail.com> wrote in message
news:OE*************@TK2MSFTNGP10.phx.gbl...
Hi,

In our old Aplication, we used to have MSAccess MDB in every client's PC,
The AP calls the MDB, then by ODBC connection the MDB will call the SQL
Server.
We have this way for years.
But now we are thinking if our new Application sould apply that approach,
or we have our new AP to connect to the SQL Server directly.
Given that our environment is ASPNet C# and SQL Server 2000 in Windows
Server 2003.
Which way will be more secure?
Any help will be appreciated.

Jason

Nov 17 '05 #3

"Jason Huang" <Ja************@hotmail.com> wrote in message
news:OE*************@TK2MSFTNGP10.phx.gbl...
Hi,

In our old Aplication, we used to have MSAccess MDB in every client's PC,
The AP calls the MDB, then by ODBC connection the MDB will call the SQL
Server.
We have this way for years.
But now we are thinking if our new Application sould apply that approach,
or we have our new AP to connect to the SQL Server directly.
Given that our environment is ASPNet C# and SQL Server 2000 in Windows
Server 2003.
Which way will be more secure?
Any help will be appreciated.

Jason


If you want security, just pull the plug. 100% security guaranteed.

Your actual question should be a no brainer. The System.Data.SqlClient
namespace is (more or less) built for Microsoft SQL Server. Is this really a
topic at your company? I'm picturing your manager as Tweek from South Park
going - AAh, All these questions about connectivity is making me nuts. Aaah!
*tweek*

Have a cup of coffee and relax.

Happy Coffee
- Michael S
Nov 17 '05 #4
Thanks Miha.
In our old Application(VB6 coding), it uses a UserList in the SQL 6.5 to
decide who has privilege to access some particular form, e.g., the
accountant can access the Accounting Form, but not Personnel Form; the
personnel can access the Personnel Form, but not Accounting Form.
Each client has to has it's MSAccess mdb in order to connect to the SQL 6.5,
via building the ODBC by a SQL user account.
We have the system goes for couples years.
But we are thinking if we can improve our New Application in security,
accessibility and stability, given that in the ASPNet C# environment.

"Miha Markic [MVP C#]" <miha at rthand com> ¼¶¼g©ó¶l¥ó·s»D:%2***************@TK2MSFTNGP10.phx. gbl...
Hi Jason,

I agree with Ignacio. Go with SqlClient - it is faster and has more
features.
What do you mean by secure?

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"Jason Huang" <Ja************@hotmail.com> wrote in message
news:OE*************@TK2MSFTNGP10.phx.gbl...
Hi,

In our old Aplication, we used to have MSAccess MDB in every client's PC,
The AP calls the MDB, then by ODBC connection the MDB will call the SQL
Server.
We have this way for years.
But now we are thinking if our new Application sould apply that approach,
or we have our new AP to connect to the SQL Server directly.
Given that our environment is ASPNet C# and SQL Server 2000 in Windows
Server 2003.
Which way will be more secure?
Any help will be appreciated.

Jason


Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Robert Chapman | last post by:
I run into a strange problem today while enableding ODBC SQL logging on my IIS Server. Once the logging was enabled, and working fine, my two ASP.Net Applications could no longer connect to the...
6
by: Buddy | last post by:
Hello, I have two machines a server and a workstation, I've installed SQL Server 2000 on the SERVER pc, will I need to all install SQL Server 2000 Client on the workstation machine for me to...
3
by: Tony Zoccolillo | last post by:
I have a SQL Server database on a Windows 2000 Server. I have IIS running on a 2nd 2000 Server with no SQL Server on it.. Neither are the PDC. Both servers have the most recent .NET framework...
2
by: Chris Langston | last post by:
I have a Web Server running IIS 5 or 6 on Windows 2K and Windows 2003 Server that is experiencing strange shutdown problems. We are using ASP.NET v1.1 and our application is written in VB.NET ...
0
by: Ersin Gençtürk | last post by:
we are getting : System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period...
2
by: James Cooke | last post by:
Hi all, I want to catch a duplicate key exception. I do not want to provide that verbose message from the MSSQL server - I would put a user friendly message out, like "The item you have added...
0
by: nicomp | last post by:
I created a Web Service: I imported System.Data.SqlClient so I could access SQL server tables programmatically. The web service builds and deploys with no problems. When I try to add the...
1
by: Ben | last post by:
Hi We have a shared webhosting that provides us SQL Server databases with SqlClient access only. We have many tables that we need access to but just want to provide 'rough and ready' add,...
3
by: weird0 | last post by:
This is the exception that I get when i create a webserivce obj and call. The error comes on the webmethod call, when it opens a connection to the db. How do I fix it? What is the solution to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.