开发者

Should I escape and sanitize data from facebook connect?

开发者 https://www.devze.com 2023-01-27 04:52 出处:网络
I\'m using the facebook php sdk for a facebook app. How safe is the $me = $facebook->api(\'/me\') object? s开发者_StackOverflow社区hould I escape and sanitize the \'name\' and \'id\' I get before

I'm using the facebook php sdk for a facebook app.

How safe is the $me = $facebook->api('/me') object? s开发者_StackOverflow社区hould I escape and sanitize the 'name' and 'id' I get before querying the database?


It is probably always a good idea to sanitize input from external systems that are not under your control. I would definitely do it.

0

精彩评论

暂无评论...
验证码 换一张
取 消