Click here to Skip to main content
15,887,083 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends,

Here i Got A Problem in My Project.In My Project iam Encrypting the Querystring in Url.But iam Unable to Encrypt the Status Bar.So Please help me regarding how to Encrypt the StatusBar Info in all Browsers.



Regards,

AnilKumar.D
Posted
Updated 7-Nov-11 0:10am
v2
Comments
Tarun Mangukiya 7-Nov-11 6:25am    
What do you want to do with status bar? Please Clarify...
Anil Honey 206 7-Nov-11 6:46am    
Actually iam Encrypting the Url.But the StatusBar is Showing the information of Encrypting Url on MouseOver.So i want to Encrypt the StatusBar.
Ankur\m/ 7-Nov-11 6:47am    
How are you doing that? JavaScript?
Anil Honey 206 7-Nov-11 6:54am    
No i created Class file for that For Encrypting and Decrypting the Url
Ankur\m/ 7-Nov-11 6:46am    
I would never send a secure data through a query string. Why not POST the data to the server?

Use Javascript to set the status bar text to whatever you want http://www.w3schools.com/jsref/prop_win_status.asp[^]

function setStatus(text)
{
  window.status = text;
}
< a href='...' Onmouseover= setStatus('whatever you want')>
 
Share this answer
 
Comments
Anil Honey 206 7-Nov-11 22:08pm    
What is the Use of This.Can u Explian Me.Is this will Encrypt the Status Bar.
[no name] 7-Nov-11 22:32pm    
No it won't encrypt it, there is no method to do that. You can however, set the status bar text to whatever you would like; an encrypted string or just some default message.

Anil Honey 206 7-Nov-11 22:39pm    
OK Thanks But when i Encrypt the Url.The statusBar also Should Encrypt at a Time.
[no name] 7-Nov-11 23:12pm    
What part are you not getting? You can set the statusbar text to whatever you would like.

onmouseover="window.status=this.href"
Take a look at the following articles,
Query string encryption for ASP.NET[^]
 
Share this answer
 
Comments
Anil Honey 206 8-Nov-11 2:31am    
Thanx its working thank You VeryMuch.......
Do it using Javascript, create javascript function and call it on onMouseOver of links/buttons

JavaScript
function hidestatus()
{
  window.status="Welcome"
  return true
}
 
Share this answer
 
Actually, You want to Encrypt the content in javaScript,
Then you have to write the code to encrypt the content
E[plainText]=cipherText;
D[cipherText]=plainText;
or instead of encrypting you can use Encoding standards. but any one can decode it easily(Base64) Encoding standerds..


Encryption Techniques are
1)Strong encrypting techniques: RC4, AES, Serpent, Twofish and RSA

[You can Go through this link]


Otherwise you can use the following methods

C#
function Encode()
  {

      var EncodedUrl = encodeURIComponent("YourUrl");
      //escape("URL")   
      //encodeURI("URL")
      //encodeURIComponent("URL")

  }
 
Share this answer
 
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900