Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Writing to a file client side?
Old 12-18-2005, 04:19 AM Writing to a file client side?
the12thplaya's Avatar
Experienced Talker

Posts: 38
Trades: 0
Hi

I'm not really looking for the code for this, unless it's short. I'm Looking more for a starting point... Is it possible to write and read from a client side file in any web language, preferably php? If so what can I look for when searching for articles / notes please?

I'm working on an encryption project and one of the ways I'm thinking of storing the long keys used to encrypt and decrypt is to save the key in a file on their computer somewhere (with their permission) where it can be read and written to when needed.

I can store the key in a database under the users details, and that would still be quite secure, but would like to see if I can make it a bit more securer by saving locally so that only they would have access to it.

I'm using the key, username and password to encrypt personal details in the database, like names, addresses, and contact details. Just to slow down anyone that happened to get access to my databases as all they'll see is something similar to this:

137|115|100|127|128|118|188|157|121|118|113|094|13 1|101|149|135|

Thanks

Kevin
the12thplaya is offline
Reply With Quote
View Public Profile Visit the12thplaya's homepage!
 
 
Register now for full access!
Old 12-18-2005, 05:58 AM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Nope, Server side code cannot read anything on the client other than cookies.
Saving things like this client side is often a problem,

What if they;
login from another machine.
get another machine / have a laptop
clear their cookies

etc etc

Personally I use several tables and store different bits of data in each table and DO NOT retrieve it with a single SQL statement for anything that needs to be fairly secure
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-18-2005, 06:05 AM
the12thplaya's Avatar
Experienced Talker

Posts: 38
Trades: 0
OK thanks. I tend to store things in seperate databases myself. And can do the same for this, but was just seeing if there were other options as well.
the12thplaya is offline
Reply With Quote
View Public Profile Visit the12thplaya's homepage!
 
Old 12-21-2005, 09:38 AM answer
Novice Talker

Posts: 12
Trades: 0
yes, you can do this, but only if you also include a java application in the formatted html output to handle a connection to and from another php page that handles the data transfer.
synapsex is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Writing to a file client side?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.62571 seconds with 12 queries