|
-
Feb 8th, 2008, 11:28 AM
#1
Thread Starter
Addicted Member
Encryption on a get method
Can I submit data with encryption on a get method form?
If above question or answer will help to you
Don't forget to rate me
தமிழ்இன்பன்
-
Feb 9th, 2008, 02:59 AM
#2
Re: Encryption on a get method
Yes if your form target is specified to use HTTPS.
PHP Code:
<form method="GET" action="https://example.com/somewhere">
-
Feb 15th, 2008, 09:11 AM
#3
-
Feb 15th, 2008, 08:23 PM
#4
Re: Encryption on a get method
The communication is encrypted using SSL.
-
Feb 15th, 2008, 08:29 PM
#5
-
Feb 15th, 2008, 08:32 PM
#6
Re: Encryption on a get method
Well, that is a good point. Since GET parameters are appended to the URL you are better off putting sensitive data in a POST body.
-
Feb 19th, 2008, 12:16 PM
#7
Thread Starter
Addicted Member
Re: Encryption on a get method
I know that, But I don't know how to transfer data between 2 pages automatically (Without submitting by user) with post method.
So I do that
If above question or answer will help to you
Don't forget to rate me
தமிழ்இன்பன்
-
Feb 19th, 2008, 02:51 PM
#8
-
Feb 19th, 2008, 04:53 PM
#9
Fanatic Member
Re: Encryption on a get method
You CANT at least if you use Post method
-
Feb 23rd, 2008, 05:34 AM
#10
Re: Encryption on a get method
You can!!!!!! But I wouldn't recommend it.
The query string is hidden when making an SSL request so you don't need to worry. Also, you shouldn't be transferring sensitive information back and forth even when it is encrypted; as you can store it in a server side session.
How SSL works:
- A TCP connection on port 443 is first established with the server.
- The client says hello. It also sends all its supported ciphers and key exchange protocols.
- The sever sends its certificate and the client verifies the certificate and authenticates the server, usually by use of a digital signature.
- Upon verification the client and server agree on a key exchange protocol and an encryption cipher.
- The server and client exchange the key.
- The HTTP request is then encrypted using this key and sent to the server:
Code:
GET /index.php?value=secret&value2=versecret HTTP/1.1
Host: www.example.com
- When the server receives the encrypted request it uses the agreed key to decrypt it.
- The server then encrypts the response with the agreed key and sends it back to the client.
See, no query string data ever gets seen between the two end points unencrypted. The only visible data are the source and destination IP addresses and the encrypted communications.
Last edited by visualAd; Feb 23rd, 2008 at 06:09 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|