I m building a community website where users sign up and create profiles. Now when a user has signed up they can click a link to take them to the edit profile area of the websites.
Here they can fill in their name, age, select, birthday and fill out things such as personal stats, about me etc.
I m wondering what is the best way to protect my profiles table from malicious hackers? Most similar websites don t seem to have any kind of validation when it comes to their edit profile section of the website. So a user can fill in nothing and still submit a form with no issue.
我想知道,允许这种功能的最佳方式是什么,但同时保护我的数据库?
Should I just be setting maximum length validation rules amongst other things? I m not quite sure how to deal with this.
我已经缩小了某些菜单、文字区箱和大量文字领域,这些地方将输入用户数据。
How would you deal with this and/or what is the most appropriate way to deal with this?
幼儿园