Ilia Alshanetsky wrote:
An Sqlite database is nothing more then a binary file, and you should treat it such. If you do not want to have people being able to download it, do not put it inside a web accessible directory.
Or, don't forget the existance of .htaccess files. Want to block sqlite files by default with an application you distribute, and you don't know where the user will drop the files? Put one of these in the root of your application in a .htaccess file:
<files *.sqlite> order deny,allow deny from all </files>
Either way, I don't see how this is a PHP or sqlite issue of any kind. Server security through file restriction is a problem with many solutions that are beyond the scope of this mailing list, IMO.
-- Shaun M. Thomas INN Database Administrator Phone: (309) 743-0812 Fax : (309) 743-0830 Email: [EMAIL PROTECTED] Web : www.townnews.com
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php