473,396 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Cookies encryption

Hi

I am looking for a simple method to encrypt persistent cookies

Thank you,
Samuel
Jun 8 '06 #1
1 1209
Since a cookie is a string, what you need to do, very simply, is find your
favorite method for encrypting and decrypting strings of text. Then, just
apply this to the cookie value before it is written, or immediately after it
is read.

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Samuel Shulman" wrote:
Hi

I am looking for a simple method to encrypt persistent cookies

Thank you,
Samuel

Jun 8 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Don | last post by:
I had my host map "domainA.com" to folder "domainB.com/folder". I'm finding when accessing "domainA.com" that PHP scripts which utilize $_COOKIE aren't able to see the cookies belonging to...
3
by: J and J | last post by:
I am creating a cookie based on a referral id like www.mydomain.com/refid=3444 I call the cookie 'refidbymber' in the javascript that saves the 3444 to be viewed on the web page. 1. Is it...
2
by: Trex005 | last post by:
okay, I am trying to make a c# Gui for PHPbb I have allready finished all the scripts for readong the posts and such, but I set them all to run as guest. Now in order to reply to these posts I...
1
by: Shapper | last post by:
Hello, I need to know how to do 2 things: 1. CREATE a NEW cookie with 2 values: "password" and "user". 2. APPEND 2 new values to an ALLREADY EXISTING cookie. I created a code which is...
1
by: Randall Parker | last post by:
Some basic security questions: 1) Is there any difference in the sort of encryption keys needed for encrypted cookies versus for https connections? 2) Does one need encrypted cookies for...
1
by: veg_all | last post by:
As I read about security it seems that the only secure way to encrypt data is to not store the key anywhere on the server. So I have the user manually type it in and it gets stored as a persistent...
3
by: Will | last post by:
Is there a good article - or maybe a good chapter in a book - that someone can recommend on the topic of how to make cookie handling secure? I'm interested in common techniques for: -...
5
by: gibble | last post by:
Hi, I am going crazy. We get a hundred or so of these errors each day and while the fix would seem obvious, the error does not include a line number! -------------------- Process...
3
by: ast3r3x | last post by:
I'm trying to implement the protocol used at http://www.cse.msu.edu/~alexliu/publications/Cookie/cookie.pdf to create cookies that can't be forged. I got everything working, except I have run into...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.