How to prevent Sql-Injection on User-Generated Sql Queries

前端 未结 15 1951
伪装坚强ぢ
伪装坚强ぢ 2021-02-10 11:55

I have a project (private, ASP.net website, password protected with https) where one of the requirements is that the user be able to enter Sql queries that will directly query t

15条回答
  •  后悔当初
    2021-02-10 12:29

    here is another example

    the hacker doesn't need to know the real table name, he/she can run undocumented procs like this

    sp_msforeachtable 'print ''?''' 
    

    just instead of print it will be drop

提交回复
热议问题