FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » Handling of Private messages.
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Handling of Private messages. [message #28712] Sun, 06 November 2005 15:42 Go to previous message
defa is currently offline  defa   Germany
Messages: 14
Registered: July 2005
Karma:
Junior Member
Hi!

I looked a little closer at the handling of private messages and I was really stunned when I found out, that the message bodies are stored in _one single_ file.

I don't know why it is done this way, but I can't see any advantages of that solution.

In my eyes the disadvantages are huge:

- Performance: Using single files is slow - there are good reasons why modern mailserver use Maildirs instead of Mailboxes.

- Data: storing the messages heads in the DB and the body in one single file is absolutely nonsens from the data-theoretical point of view. Because (as happend to me) if you desynchronize the DB from the file by accident really dumb things start to happen, like people getting PM's they weren't supposed to get. etc. - in my eyes the header and the body have an 1:1 relation - so why not store the body in the DB?

- Security: When users delete their PM's (which also can contain confidential information) the body remains in the private file until a lazy admin tries to compress the data, if the lazy admin uses safemode the private file will be destroyed trying this. - But there is an other draw back - if someone gets webserver rights in some way (which is not unlikely if you use PHP and some vhosts) he'll find a neat little archive of all personal messages (even deleted ones). From the users point of view this is really a mess - because the user has no posibility to remove the PM-Body from the server.


Well, I'd suggest to store the PM's in the DB in upcomming versions - it's easy to implement and (in my opinion) has only advantages compared with the actual solution.

bye
defa

[Updated on: Sun, 06 November 2005 22:32]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New links to topics in 2.7.3?
Next Topic: What distinguishes FUDforum from other php forums?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 10:43:07 GMT 2024

Total time taken to generate the page: 0.04562 seconds