How to write SQL query inside javascript block

B

babu nair

Hi
Can any one help how to write SQL QUERY inside javascript

EX:
<script type="text/javascript">
SQL query
</script>
 
S

Sandor Szücs

Can any one help how to write SQL QUERY inside javascript

First that's not a list about javascript.
Second you don't want to let your clients talk directly with your =20
database.
Third if you really want do this, I think you want to attack a db =20
through
other people by XSS and we shouldn't help you.

Think about JS. It's running in the browsers JS-engine of your clients.
Do you really trust all your clients?
=46rom attackers point of view it's nice. We can directly communicate =20=

with your
DB and you couldn't do anything to prevent this, because you trust =20
us. Clients
have never been trustworthy!

hth. regards, Sandor Sz=FCcs
--=
 

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

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top