Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PM Encryption - Encrypt all your PMS! Details »»
PM Encryption - Encrypt all your PMS!
Version: 1.0.0, by Deaths Deaths is offline
Developer Last Online: Mar 2009 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 04-05-2005 Last Update: 04-05-2005 Installs: 5
DB Changes
 
No support by the author.

PM Encryption v 1.0.0


As requested by Sully02, here: https://vborg.vbsupport.ru/showthrea...780#post636780
This nifty little hack encrypts your user's (and your), PMs when sent, and unencrypts them when they are read !
It also supports the downloading of the PMS, all PMs downloaded will be unencrypted.

Creator: Deaths
Live Demo: Theres nothing to see.
Screenshots: Nothing to see.
Support is in this thread, and preferably at vBadditions.com

I have included an Installer, which will encrypt all previously sent PMs!

Tested on 3.0.7, should work with all 3.0.x's.

Stats:
Files to Edits: 1
New Files: 0
Templates to edit: 0
Templates to add: 0
Dont underestimate this hack though, its not a mini-mod .

Follow the instructions in the install file, and everything should go just fine .

Todo list:
  • Your suggestions.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 04-06-2005, 06:56 PM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, I see.

Well, there is no real way of "encripting" something, and hiding it from the public, but still making it readable after that.
At least not in PHP.

Or am I wrong?
Reply With Quote
  #23  
Old 04-06-2005, 07:07 PM
Bolas's Avatar
Bolas Bolas is offline
 
Join Date: Jan 2003
Location: Venice
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and use a JavaScript (client side) on the fly decryption?
I think something like a public and private password: RSA?

public password is stored in database, so anyone can crypt the message using adressee public pass.

When the message is ready to be decrypted and the user open it, a javascript prompt ask him the private password.
Then a function will decrypt client side the crypted message.
Reply With Quote
  #24  
Old 04-06-2005, 08:23 PM
BamaStangGuy's Avatar
BamaStangGuy BamaStangGuy is offline
 
Join Date: Mar 2004
Location: Alabama
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
maybe... just prevent lamers admin to read pms
That made a whole lot of sense right there... seeing how the admin would have to install this in the first place to prevent himself, the lame admin, from reading pms... uh huh
Reply With Quote
  #25  
Old 04-06-2005, 08:52 PM
j_86 j_86 is offline
 
Join Date: May 2003
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Store the key in config.php and make it global.
Reply With Quote
  #26  
Old 04-06-2005, 09:46 PM
sully02 sully02 is offline
 
Join Date: Jul 2004
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One thing I found after testing this out...

The encryption works for storing it in the database, but when you reply to a private message, the text in the quote box is the encrypted message.

Edit - Removed quote so as not to confuse posters... I'm so used to the quote not showing up by default on my board.

Another thing I notice... When it quotes a previous PM in a reply, it has trouble parsing the apostorphes... They show up, but they are preceded by several slashes. I assume that's a side effect of the encoding.
Reply With Quote
  #27  
Old 04-07-2005, 07:21 AM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, the quoting is a pain in the ass.

If you'd want that to go away, there would be a number of additional edits in functions_newpost.php, and functions_bbcodeparse.php :/
Reply With Quote
  #28  
Old 04-07-2005, 07:57 AM
tehste tehste is offline
 
Join Date: Feb 2004
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think PM encryption is one of the things that jellsoft may have thought about and decided it is pointless. If someone has access to your database they could do far worse than read private messages. Unless obviously it is the Administrator, But he/she could easily read the 'encrypted' message if they so desired.

If a user recieves a private/personal message they could always download it and delete the message. (Is the row in the database removed when the recipient and sender delete the message?).

Privacy depends on what your forum is about. For example if your userbase was largely under 13 years old and there were a few 40-50 year old males on your board then it may be prudent to actually check or screen messages. Obviously that is a stereotypical example and I am not saying that all 40-50 males are seedy... Rather it would be odd if they were on a board dominated by younger people.

Anyway it is a good idea though not really that useful...
Reply With Quote
  #29  
Old 04-07-2005, 09:57 AM
Bolas's Avatar
Bolas Bolas is offline
 
Join Date: Jan 2003
Location: Venice
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zsdave
Privacy depends on what your forum is about. For example if your userbase was largely under 13 years old and there were a few 40-50 year old males on your board then it may be prudent to actually check or screen messages. Obviously that is a stereotypical example and I am not saying that all 40-50 males are seedy... Rather it would be odd if they were on a board dominated by younger people.
your're right, of course.. and..

Quote:
Originally Posted by zsdave
Privacy depends on what your forum is about.
But this is a coder forum and we like to talk about algos, vb coding technics and beer!
(not enought women around here... )
Reply With Quote
  #30  
Old 04-07-2005, 10:03 AM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haha, that last comment really made me laugh
Reply With Quote
  #31  
Old 04-07-2005, 08:58 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm kinda lost on the point of this...

Is it to stop admins from reading pms?

Couldn't they just login as you? there's enough hacks to do that already..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:02 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05650 seconds
  • Memory Usage 2,306KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete