Mobile app version of vmapp.org
Login or Join
Karen161

: Is SimplePHPBlog a secure blogging engine? Has anyone used the blog engine SimplePHPBlog? It is a simple blog engine that uses only text files (no database). My problem with it is that the

@Karen161

Posted in: #Blog #Security

Has anyone used the blog engine SimplePHPBlog? It is a simple blog engine that uses only text files (no database).

My problem with it is that the content directory where the texts files are stored appears to require being world writeable/readable (i.e. permission 777) for it to work. This means anyone can access the text files with a browser! These text files include the blog/comment poster's IP and email address!

This is not secure or good practice, right?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Karen161

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sarah324

Are those files in the web root? Or below it? If they are below it you're fine. If not you can always block those files from being viewed in a browser using .htaccess. Just place the .htaccess file in that directory with code similar to this:

<Files *.db>
Order Deny,Allow
Deny from All
</Files>


Change .db to be whatever file extension those files are using. Then whenever someone tries to access them via a browser they will get a 403 forbidden error.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme