Stefany93 Posted August 1, 2014 Share Posted August 1, 2014 Howdy, So I am creating a website with SQLite and this time I decided to follow the rule of putting the SQLite DB outside of the document root. However, the admin would need to admin, basically, the DB, so I have two choices: a) Put PhpLiteAdmin (The SQLite DB manager like PHPmyAdmin is for MySQL) in the document root while giving it a path to the actually DB that is outside of the document root; b) Set a subdomain to a directory outside of the document root of course and put both PhpLiteAdmin and the SQLite DB there and the admin would access it like this - db.Awesome-Website.com; Which one of those two options are safer? Thank you very much! Quote Link to comment https://forums.phpfreaks.com/topic/290223-putting-sqlite-db-outside-document-root/ Share on other sites More sharing options...
Solution Jacques1 Posted August 2, 2014 Solution Share Posted August 2, 2014 Option b) makes no sense for your requirements, because the database file is in the document root. It's the document root of your subdomain. So what's left is a). Quote Link to comment https://forums.phpfreaks.com/topic/290223-putting-sqlite-db-outside-document-root/#findComment-1486650 Share on other sites More sharing options...
Stefany93 Posted August 2, 2014 Author Share Posted August 2, 2014 ^^ Thank you for the help, but it wouldn't have killed you to be more polite! Quote Link to comment https://forums.phpfreaks.com/topic/290223-putting-sqlite-db-outside-document-root/#findComment-1486654 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.