Hey Ken .. for my server, the Sqlite database worked with 755 permissions which is ofcourse better than 777. I also added the "deny all" in the data folder .htaccess to prevent direct access to this file. This should prevent anyone from accessing this file directly.
All the tables - posts, comments, stats etc will go to this single database called postdb.sqlite.
This is a good point though. I will add it to my reading list and if I find anything to improve here, I will make sure to post it.
By upgrades, I think you mean the Sqlite versions - correct? If the servers start using the latest Sqlite versions, then we would supply an upgrade script to take care of the upgrade process. Most of the PHP installations are using Sqlite 2 even though Sqlite 3 is out. I think the firefox addon works only with Sqlite3 databases. Anyway, there are other tools available to read/update the Sqlite database.
For the themes, I want to separate the business logic and presentation in a better way so that multiple themes can be easily developed and selected at any time. Something like all the popular blog apps already do. But, I am searching for the solution that will not add any bloat to Pritlog.
Edit:
After reading some good php sites regarding Sqlite security, the impression I get is that the best way would be to treat it like a simple file and secure it by using access restrictions through .htaccess or appropriate permissions. If we use this in IIS, then .htaccess is not going to work. So the user should look at the permission or other means of securing that IIS will use. I don't have experience working on IIS. But with apache and htaccess, the database should be secure. Also, Pritlog does not store the userids/passwords in Sqlite. They are stored separately in files.