Yii Framework Forum: Sql Injecton in Yii - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Sql Injecton in Yii

#1 User is offline   php demon 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 27-January 10

Posted 07 June 2010 - 05:45 AM

Hi Dear

I need your help to prevent sql injection in Yii framework. Is there any special function to make ours portal become free of sql injection.
1

#2 User is offline   tydeas_dr 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 158
  • Joined: 16-April 10
  • Location:Greece

Posted 07 June 2010 - 11:59 AM

There are php functions for this reason but don't thing you will need it. The developer of this framework has take in mind less common issues that i doupt he left this to be programmed by you or me.

This post has been edited by tydeas_dr: 07 June 2010 - 12:08 PM

Follow me on twitter @dmtrsslvdr
Check my *new* blog @ tumblr
-1

#3 User is offline   imehesz 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 709
  • Joined: 13-June 09
  • Location:Jacksonville, FL

Posted 07 June 2010 - 12:26 PM

hello,

I think PHP's PDO library takes care of that! (and Yii uses that)

http://ezinearticles...-PDO&id=1815110

--iM
It’s done, the great act of creation.
The maker rests. The wheel’s in motion.
-- Imre Madách

check out Yii Theme Factory at http://yii.themefactory.net
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users