which group appropriate for LINQ questions?

D

Duncan A. McRae

I am trying to find a simple answer to, "if I use LINQ against tables,
must I give the webuser datareader/datawriter permissions in SQL
Server?". I see the question asked repeatedly, but instead of
answering that question the responders always seem to launch into
magnificent speaches about the speed and security of stored procedures
and parameterised queries and their mother's apple pie. I'm not
bitter, though.

If you can tell me which group would be best to post this question, I
would appreciate it. If you can answer my question, I would
appreciate that even more!

Thank you;
Duncan
 
J

Jeroen Mostert

Duncan said:
I am trying to find a simple answer to, "if I use LINQ against tables,
must I give the webuser datareader/datawriter permissions in SQL
Server?".
Yes.

I see the question asked repeatedly, but instead of
answering that question the responders always seem to launch into
magnificent speaches about the speed and security of stored procedures
and parameterised queries and their mother's apple pie. I'm not
bitter, though.
It's actually pretty simple: LINQ generates ad-hoc queries. This reduces the
question to what you need to do to allow ad-hoc queries, which is a pure DB
question.
If you can tell me which group would be best to post this question, I
would appreciate it. If you can answer my question, I would
appreciate that even more!
Well, I hope that settles that, then.
 
I

Ignacio Machin ( .NET/ C# MVP )

I am trying to find a simple answer to, "if I use LINQ against tables,
must I give the webuser datareader/datawriter permissions in SQL
Server?". I see the question asked repeatedly, but instead of
answering that question the responders always seem to launch into
magnificent speaches about the speed and security of stored procedures
and parameterised queries and their mother's apple pie. I'm not
bitter, though.

If you can tell me which group would be best to post this question, I
would appreciate it. If you can answer my question, I would
appreciate that even more!

Thank you;
Duncan

In this group you most of the time get any question answered. even if
it's out of topic.
Inyuor case I think that it depends of how the app connect to the SQL
server and how the server is configured. If you use win. auth. so yes
the webuser ( OR the user used to run the app ) needs access to the
SQL server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top