Reply
Is it safe to store data like this?
Old 05-09-2008, 05:47 AM Is it safe to store data like this?
Junior Talker

Posts: 2
Name: thomas
Hi guys,

since I am a database dummy and also donīt have access to multiple databases for different projects, I always store my data in arrays, which I then export to *.php files like this:

<?php
$data=array (
'value_a' =>
array (
'something' => '1210324762',
'something_else' => 'xyz',
),
)
?>

stored to data.php.

I also store usernames and salted password hashes like that. Do you consider this a very unsafe way to go and easy to breach? I canīt think of a way to read the data from the server without including it into a php file that also is on that server, to which only I have access...

Thanks for sharing your insight!

Thomas
bappenlabapp is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Old 05-09-2008, 06:05 AM Re: Is it safe to store data like this?
Average Talker

Posts: 15
Name: Mark
Yes thats fine, there is no security or performance issue storing data like this.
Datingsoftware is offline
Reply With Quote
View Public Profile
 
Old 05-09-2008, 07:58 AM Re: Is it safe to store data like this?
conrad81's Avatar
Junior Talker

Posts: 2
Name: Stefan
Location: Asuncion
I'm more confident with databases and I have to say I'm really an 'array dummy' - so, if I have problems with the number of databases available, y simply use different table names like 'project1_tablename' and 'proyect2_tablename'. Of course, space for database is another limit to consider.
__________________
stf
FIHost.com
(free image host)
conrad81 is offline
Reply With Quote
View Public Profile Visit conrad81's homepage!
 
Old 05-09-2008, 10:12 AM Re: Is it safe to store data like this?
Junior Talker

Posts: 2
Name: thomas
ok, thank you!
bappenlabapp is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Reply     « Reply to Is it safe to store data like this?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML


Page generated in 0.14432 seconds with 14 queries