Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialteamz
44,723 PointsRegex related to user input security concerns?
I love this JS regex course and feel like I am learning a lot.
With regards to the actual validation of emails and other user info, I was wondering if we should be concerned about the info that the user is supplying beyond the regex.
Should there be anything on the front end that we should use to help avoid any malicious users to enter things that they shouldn't with our forms?
(I have been through some of the Treehouse security courses, so it has me starting to think about these things.)
I'd love any more info and/or actionable steps. :)
1 Answer
Daniel Phillips
26,940 PointsI'm no expert, but I think we do what we can on the frontend but know that the backend is where we have to be careful since it isn't hard to bypass most frontend validation. I see what looks like a course for you.