Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PhP Security

Featured Replies

Hey Guys,

 

I'm looking around all day, but I have a site that I am building that needs to transfer Social Security numbers over the internet. I want to make sure I follow the best security guideline practices for this. It is my first time on a project of this scope so if anyone has any tips or reference links let me know.

 

Thanks.

My best advice here would be to pay a security specialist to create your own unique encryption algorithm so that you are not using any 'cobbled together' solution. Make sure that they are contracted to 'ensure the security of the data' and provide support, plus to 'write a unique algorithm and encryption/decryption scripts' that will not 'be re-used in part in whole for other works'.

  • Author

Yea I have been reading up. Basically the site I am building will be processing information for express visas.

 

The company does work for businesses that have a lot of techs that need to rotate every 60 days who is traveling outside the country. Corporate accounts will have a permanent username and password, but one time users will need to be deleted from the database within 10 days of receiving their visa. My client wants as few doors left open to the database as possible.

 

I don't know an incredible amount about SQL Injection and how to prevent it, but I have heard some horror stories. I'm in the design phase of the site right now so working on front end and not the backend yet.

 

Eventually the backend of the webpage will be integrated with mobile software for an advanced tracking program and I just wanted to make sure the foundations are solid from the start. I've been looking into SSL encryption and PCI compliance. I just wanted to ask around to see if anyone who has done this can save me some heartache or newbie "pitfalls" before I accidently step into them.

  • 3 weeks later...

Use PDO for your DB Queries with PHP

 

Get yourself an SSL certificate

 

Encrypt the social security number

 

MAKE SURE YOUR SERVER IS SECURE

 

T

  • 4 weeks later...

Ouch, very grey area this. Apart from all the standard security practices for this type of thing that you'd apply any project (ssl, prepared queries etc.) you should definately have a read up on compliance.

 

For example, what information are you allowed to store next to a social security number E.g. name, address etc.

 

Are there any PCI or similar requirments for encrytping/decrypting/storing data - specially for social security numbers? Look at the increase in standards yoiu have to follow if you require higher levels of PCI compliance for merchant accounts that process tons of transactions. It's insane.

 

Personally, something as important as a social security number would be soemthing I wouldn't want responsibility for storing such data without knowing a bit more about it.

 

Unfortunately, I don;t think answers like having an SSL certificate or following php best practices like prepared will cut it. There will be more guidlines you need to follow. Have a read of http://stackoverflow.com/questions/254935/storing-social-security-numbers - storing such data seems to involve some quite high level techniques such as public keys and encrypted hard disks

 

Also, does the information have to be online, can't it be stored locally?

 

There are some good points raised at http://stackoverflow.com/questions/113526/potential-legal-issues-with-storing-social-security-insurance-numbers-ssns-sins - definately worth a read. That link suggests users need to be notified that you'll be storing their personal data and that a way to opt. of it is required.

 

Sooooo many pitfalls and potential issues with things like this :)

 

Agreed.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.