tarun Posted April 8, 2007 Share Posted April 8, 2007 My Website Runs On Flat Files (Due To Limited SQL Resources) And Need To Protect Those Precious txt Files But How Could I Do It? HTACCESS Would Work Wouldn't It But People Could Just Use file_get_contents On The Files Any Other Methods...? ANY Contribuations WILL Be GREATLY Appreciated Thnx, Tarun Link to comment https://forums.phpfreaks.com/topic/46153-protecting-files/ Share on other sites More sharing options...
flash gordon Posted April 8, 2007 Share Posted April 8, 2007 how about chmod() ? User wont be able to read it through the browser, but php still can. Link to comment https://forums.phpfreaks.com/topic/46153-protecting-files/#findComment-224330 Share on other sites More sharing options...
tarun Posted April 8, 2007 Author Share Posted April 8, 2007 Cool Shall Try It Thnx Link to comment https://forums.phpfreaks.com/topic/46153-protecting-files/#findComment-224422 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.