Security and Cryptography
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationSecurity and Cryptography

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 29th, 2000, 05:08 PM
Chong_Sun Chong_Sun is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Singapore
Posts: 21 Chong_Sun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Chong_Sun
If I want people to use my Web Server and CGI passing in parameters which I don't want people to view?

E.g. http://myweb/cgi-bin/mycgi.cgi?pw=123456&user=me

With SSL helps? And if so, how does SSL do it?

Reply With Quote
  #2  
Old August 29th, 2000, 05:19 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>I don't want people to view?

In which way? Look over shoulder? If so, use POST method instead of GET method.

Reply With Quote
  #3  
Old January 25th, 2001, 09:34 PM
sherman sherman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Location: Pheonix, AZ
Posts: 3 sherman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
url encoding alternatives


URL encoding is nice for both users (because they can bookmark it, email it to friends, switch between browsers, and so forth) and for servers (because it's not tied ot a particluarl server if you're load balancing), but it does make a big ugly URL. In particular although Netscape and others allow around 8k of data in the url, Internet Explore limits you to 800 bytes, I believe.

Anyways, cookies and sessions are both good ways to do what you want. You can stuff as many vars as you want into the session and then keep track of what session they have either via a cookie stored on their system or via an ID in the URL, which is a little easier on the eyes and shorter. However, they gives you some more instability (if webserver restarts, they are forced back to logon page, for example) and peopel don't like cookies anyways.

Reply With Quote
  #4  
Old February 8th, 2001, 06:31 PM
chrisedwards chrisedwards is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Arizona
Posts: 1 chrisedwards User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Use METHOD="post"

sherman's info is good but the simplest answer (if I understand your question) is simply to use <FORM METHOD="post" .....> rather than <FORM METHOD="get" ....>. This will keep the variables hidden. SSL is a whole other topic if you wanted the actual data to be encrypted but it sounds like you just don't want the variables viewable in the URL window. The urlencode simply takes care of spaces and junk in the get string. I don't think URL encoding will "hide" the values.

If your data is not originating in a form but from a hypertext link then my suggestion won't work (but then again you shouldn't be sending passwords in a text link anyway...)

Hope this helps.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationSecurity and Cryptography > What is SSL?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap