You are here: public / private key client side encoding « PHP Language « IT news, forums, messages
public / private key client side encoding

Posted by Anze on 10/10/07 18:16

Hi!

Just had an idea and I'd like to hear your comments - or better yet, links
to information on how to easily do this.

Let's say you want to have accounting information of the company on the web
so the clients can check their status anytime. But you don't have your own
server or do not trust the administrator of the server with the data. So,
the idea is that the administrator is the hacker you wish to lock out, at
least so he can't read the data. Is this possible?

I guess the data could be encrypted before it is sent to the server, saved
in some DB there and then decrypted on a client machine when it comes back
from the server.

The problems I see are:
- where would the client key reside? I guess in a cookie, but it should be
installed there and kept permanent...
- the administrator could have access to PHP pages too so he could alter
them and get the key through XSS attack

Yeah, I know, get your own server and an administrator you can trust... Any
other idea? :)

Any comment on this would be appreciated.

Thanks,

Anze

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация