sql - How do I disable validation in Web Data Administrator? -


i'm trying run queries rid of xss in our database using web data administrator keep running potentially dangerous request crap.

how disable validation of query in web data administrator?

go install directory of web data admin, usually:

c:\program files\microsoft sql server tools\microsoft sql web data administrator

then in "web" folder open file "querydatabase.aspx" , edit following line:

<%@ page language="c#" codebehind="querydatabase.aspx.cs" autoeventwireup="false" inherits="sqlwebadmin.query" %>

add validaterequest="false" end of so:

<%@ page language="c#" codebehind="querydatabase.aspx.cs" autoeventwireup="false" inherits="sqlwebadmin.query" validaterequest="false" %>

note: potentially dangerous!! careful!


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -