Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

lat4732's avatar
Level 12

Account verification with ID card

I need to implement account verification with a front and back side of an ID card. I've never done something like this so your suggestions are greatly appreciated! Anything important I need to know? Where to store these photos, how to indicate in the database which accounts are verified and which aren't etc...?

0 likes
4 replies
tykus's avatar

I need to implement account verification with a front and back side of an ID card.

What does this mean; is there an Admin reviewing user-submitted images?

Snapey's avatar

Attach images to account application

Mark the application as needing review

List applications that need review for an administrator

Create accept / reject workflows

thinkverse's avatar

Anything important I need to know? Where to store these photos

Yeah, don't do it. 🤷‍♂️

ID cards are PII and should be handled with extreme caution and not something to just dump on an s3 drive and try to manually verify. Stripe for instance provides Identity to handle ID verification, you can look into that.

But I'd highly recommend not doing ID verification yourself and instead letting a known service handle that for you.

2 likes

Please or to participate in this conversation.