Re: Solving the ' issue
From: Eric Sabine (mopar41_at_hyottmail.com)
Date: 12/05/03
- Next message: Steve: "Server Level Settings"
- Previous message: PL: "Re: Solving the ' issue"
- In reply to: PL: "Re: Solving the ' issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 5 Dec 2003 12:40:15 -0500
Follow the link I provided. You'll find useful information on injection.
> Also, if you bothered to read my question I was wondering what I could do
> on the SQL server side to prevent anything bad like '; DELETE FROM ...
> being inserted/injected.
How about start with using appropriate NT/SQL permissions.
> The issue is not really what language you use on the scripting side, this
> is certainly a SQL issue.
Wrong attitude towards programming. All client access to a database should
be restricted to stored procedures. Test for bad input in the sproc. On
the client side, test for bad input there too. Why waste the time on a
round trip to the server if you can validate injection SQL up front.
> It's nice to see usenet holds up to it's standard, makes me remember why
> I stopped using it.
Most likely has more to do with your bad attitude. Seems like your boss new
exactly what to do with you by giving you this fun Find-And-Replace project.
"PL" <pblse2@yahoo.se> wrote in message
news:uuPSYP1uDHA.1088@tk2msftngp13.phx.gbl...
>
> It's an sql issue because it's a stupid issue to begin with, why it's
never fixed
> I don't know.
>
> Also, if you bothered to read my question I was wondering what I could do
> on the SQL server side to prevent anything bad like '; DELETE FROM ...
> being inserted/injected.
>
> The issue is not really what language you use on the scripting side, this
> is certainly a SQL issue.
>
> It's nice to see usenet holds up to it's standard, makes me remember why
> I stopped using it.
>
> PL.
>
>
> "Eric Sabine" <mopar41@hyottmail.com> skrev i meddelandet
news:e5qGo%230uDHA.2244@TK2MSFTNGP09.phx.gbl...
> > Is this a SQL Server issue? I ask because you use the & (AND) operator,
not
> > +. If you're trying to prevent something like SQL Injection, you'll
have to
> > rewrite code to trap injection.
> > http://www.sqlsecurity.com/DesktopDefault.aspx?tabindex=2&tabid=3
> >
> > is this what you're asking about?
> >
> > Eric
>
>
- Next message: Steve: "Server Level Settings"
- Previous message: PL: "Re: Solving the ' issue"
- In reply to: PL: "Re: Solving the ' issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|