Click here to Skip to main content
15,899,937 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDatagrid-Boundcolumn.dataformatstring property Pin
Dhruvil20-Jun-06 9:33
Dhruvil20-Jun-06 9:33 
AnswerRe: Datagrid-Boundcolumn.dataformatstring property Pin
Nagraj Naik20-Jun-06 20:32
Nagraj Naik20-Jun-06 20:32 
QuestionEditing Somone Elses Work..... Pin
Matthew Hazlett20-Jun-06 8:47
Matthew Hazlett20-Jun-06 8:47 
AnswerRe: Editing Somone Elses Work..... Pin
Raj Lal20-Jun-06 11:16
professionalRaj Lal20-Jun-06 11:16 
QuestionMaximum open connections in ASP .NET? Pin
mcintyre23120-Jun-06 6:41
mcintyre23120-Jun-06 6:41 
QuestionAre sql query command strings secure in ASP.NET? Pin
timothymburke20-Jun-06 5:43
timothymburke20-Jun-06 5:43 
AnswerRe: Are sql query command strings secure in ASP.NET? Pin
Guffa20-Jun-06 6:38
Guffa20-Jun-06 6:38 
GeneralRe: Are sql query command strings secure in ASP.NET? [modified] Pin
timothymburke20-Jun-06 7:46
timothymburke20-Jun-06 7:46 
I understand a hackers reasoning about wanting the login to my sql server. It makes them able to get direct admin access to the sql server but it is just as difficult to grab the login from memory as it would be to grab the SQL query string, and I would assume just as simple for that same hacker to change the query before it posts back to the server. Sadly there isn't much difference between admin access and a query through an admin login given you know the most basic SQL.

"without a database connection"

They have database connection already, everyone has to have a database connection to check their login and pass against the database, even when it is incorrect, which is another best pratice to put the usernames and passwords in the database.

So my point is, access to SQL queries through an admin account yields the same security risks as direct admin access to the server, therefore, what is the point of encrypting your login in the web.config file if they are just going to have access to your queries in the code behind page that I already know is not secure since Microsoft tells us directly anyone can view the code behind page and/or change it.

"hardly a security risk"

Access to queries is a grave security risk especially when that connection has full access which as you pointed out is very often not to mention a must for any add, change, delete program, and it is only slightly less risky to a connection that has read only access always with the obvious unrevokable ability to run read-only queries like "SELECT * FROM... Hackers have used the same or related security hole for years to get at data from all the other frameworks so what can I do to stop this in .NET or am I to simply assume these same hackers will stop trying to get it at data?

Thanks for the reply.

timothymburke@hotmail.com

-- modified at 13:55 Tuesday 20th June, 2006
AnswerRe: Are sql query command strings secure in ASP.NET? Pin
Guffa20-Jun-06 11:51
Guffa20-Jun-06 11:51 
AnswerRe: Are sql query command strings secure in ASP.NET? Pin
ToddHileHoffer20-Jun-06 7:37
ToddHileHoffer20-Jun-06 7:37 
AnswerRe: Are sql query command strings secure in ASP.NET? Pin
mtone20-Jun-06 7:42
mtone20-Jun-06 7:42 
AnswerRe: Are sql query command strings secure in ASP.NET? Pin
Vasudevan Deepak Kumar20-Jun-06 23:06
Vasudevan Deepak Kumar20-Jun-06 23:06 
QuestionHow to fill data into a table dynamically? Pin
pitturamakrishna20-Jun-06 5:23
pitturamakrishna20-Jun-06 5:23 
AnswerRe: How to fill data into a table dynamically? Pin
ToddHileHoffer20-Jun-06 5:35
ToddHileHoffer20-Jun-06 5:35 
Questionhi, please i wanna know how ViewState works Pin
Mohammed Amine20-Jun-06 4:55
Mohammed Amine20-Jun-06 4:55 
AnswerRe: hi, please i wanna know how ViewState works Pin
J4amieC20-Jun-06 5:03
J4amieC20-Jun-06 5:03 
Questioncreate button dynamically Pin
surshbabuk20-Jun-06 4:26
surshbabuk20-Jun-06 4:26 
AnswerRe: create button dynamically Pin
Keith Barrow20-Jun-06 5:08
professionalKeith Barrow20-Jun-06 5:08 
Questionhow to control header ,sidemenu and footer for everypage? Pin
campbells20-Jun-06 4:07
campbells20-Jun-06 4:07 
AnswerRe: how to control header ,sidemenu and footer for everypage? Pin
minhpc_bk20-Jun-06 15:22
minhpc_bk20-Jun-06 15:22 
QuestionFile breakdown not working Pin
Brendan Vogt20-Jun-06 4:05
Brendan Vogt20-Jun-06 4:05 
AnswerRe: File breakdown not working Pin
Paddy Boyd20-Jun-06 4:31
Paddy Boyd20-Jun-06 4:31 
Question2 Version running on same Web server Pin
mtone20-Jun-06 3:13
mtone20-Jun-06 3:13 
AnswerRe: 2 Version running on same Web server Pin
RichardGrimmer20-Jun-06 5:32
RichardGrimmer20-Jun-06 5:32 
AnswerRe: 2 Version running on same Web server Pin
Vasudevan Deepak Kumar20-Jun-06 22:48
Vasudevan Deepak Kumar20-Jun-06 22:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.