Board index   FAQ   Search  
Register  Login
Board index php forum :: PHP and MySQL Security PHP & MySQL Security

Please help, protecting .csv file

Security issues related to php and mysql usage. How to make your code secure? Security measures and configurations? It's all in here!

Moderators: macek, egami, gesf

Please help, protecting .csv file

Postby ethanmelamed » Tue Mar 04, 2014 11:10 am

Hi so I am developing a registration system for a local charity's website. I am taking the data from the registration fields, adding them to an array and then writing them to a .csv file using :
fputcsv($fs, $fields);

I am reasonably knowledgeable about computer science but I am a fish out of water when it comes to security. I realize that proper data validation is important and I am doing this as best I can. However when it comes to actually writing to the file and storing the file what measures should I take to ensure security?

oh and btw the use of a .csv file over a mysql database is a requirement given by the client.

All help is appreciated
Thanks,
Ethan
ethanmelamed
New php-forum User
New php-forum User
 
Posts: 1
Joined: Tue Mar 04, 2014 10:54 am

Return to PHP & MySQL Security

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.