vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   PM Encryption - Encrypt all your PMS! (https://vborg.vbsupport.ru/showthread.php?t=79484)

Deaths 04-06-2005 06:56 PM

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?

Bolas 04-06-2005 07:07 PM

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.

BamaStangGuy 04-06-2005 08:23 PM

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

j_86 04-06-2005 08:52 PM

Store the key in config.php and make it global.

sully02 04-06-2005 09:46 PM

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.

Deaths 04-07-2005 07:21 AM

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 :/

tehste 04-07-2005 07:57 AM

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...

Bolas 04-07-2005 09:57 AM

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! :D
(not enought women around here... http://www.wellage.net/images/smilies/ehm.gif)

Deaths 04-07-2005 10:03 AM

Haha, that last comment really made me laugh :D

Cyricx 04-07-2005 08:58 PM

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..


All times are GMT. The time now is 05:55 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01138 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete