hiding variable?

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
snakefingers
-


Joined: 01 Apr 2006
Posts: 3

PostPosted: Sat Apr 01, 2006 1:05 pm    Post subject: hiding variable? Reply with quote

Hi!

I'm wondering if it exists a way to hide the variables in the adress bar when you rollover or click on a link?

Exemple:

http://www.exemple.com/index.php?variable1=stuff1&variable2=stuff2


??
Back to top View user's profile Send private message
Tom Chapman
-


Joined: 09 Jul 2005
Posts: 933
Location: Australia

PostPosted: Sun Apr 02, 2006 1:17 pm    Post subject: Reply with quote

Um.. No?
Back to top View user's profile Send private message Visit poster's website MSN Messenger
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Apr 02, 2006 1:37 pm    Post subject: Re: hiding variable? Reply with quote

snakefingers,

You can hide the variables using some javascript. But they will still visible to anyone who looks to your pages' source code. Even if you use the most complex tricks to hide these, a HTTP sniffer (see http://www.google.com/search?client=opera&rls=en&q=http+debugger) will suffice to know what are the contents of the request (and the variables) you are sending...
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
snakefingers
-


Joined: 01 Apr 2006
Posts: 3

PostPosted: Sun Apr 02, 2006 4:21 pm    Post subject: Reply with quote

Damn! :(

Ok. Thanks a lot.
Back to top View user's profile Send private message
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Mon Apr 03, 2006 12:12 pm    Post subject: Reply with quote

You could encrypt the variable using MD5 or SHA1.

Code:
$var = md5($var);
Back to top View user's profile Send private message
snakefingers
-


Joined: 01 Apr 2006
Posts: 3

PostPosted: Mon Apr 03, 2006 4:34 pm    Post subject: Reply with quote

cmxflash wrote:
You could encrypt the variable using MD5 or SHA1.

Code:
$var = md5($var);


that sounds great...
Back to top View user's profile Send private message
ady25626
-


Joined: 11 Jun 2006
Posts: 1

PostPosted: Sun Jun 11, 2006 11:56 pm    Post subject: It's more simple the that :) Reply with quote

no no no it's simple just use frames
in index.php write a frame to you're site
when you click a link from that site
the page is rederecting to that link but the page is in that frame so the
adress bar will not change and will not show any variable the same trick is when you enter in PhpMyAdmin (the page address will not change when you click on links )
Code:

<body>
<frameset rows="*">
 <noframes>
   Your browser doesn't seem to understand frames.
 </noframes>
 <frame src="http://sitename/index2.php?whatever=something&whatever2=somethingelse" frameborder="0" noresize="noresize" />

</frameset>
</body>
check here for URL Manipulation
_________________
-----------
this day this hour this second .... i am
that day that hour that second .... me nomore
where to spend all eternaty ?
Choise Jesus who said "I am the way,the true and the life" .That life. :)
Back to top View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group