Security issue writing files

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
camilo
Forum Newbie
Posts: 1
Joined: Mon Aug 06, 2007 10:29 pm

Security issue writing files

Post by camilo »

Hi, first, sorry about my english.

i am a beginner with php and i have some question about writing files using php in a shared hosting. is a risk?, use database to store data is a better way? i just want make an interface (in php) that write the data in a .html extension file to show to everybody the html page and just the php interface is to the content manager.

thanks in advance

Camilo Andres :roll:
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Provided it's coded in specific ways, no it's not a major risk. Why not use an existing content management system rather than building it yourself.. or is that the real purpose?
kippy
Forum Commoner
Posts: 84
Joined: Wed Jun 07, 2006 8:25 pm

Post by kippy »

feyd...taking all the fun out of it!
Post Reply