Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Data encryption in the javascript context

0 views
Skip to first unread message

Srini

unread,
Oct 30, 2009, 11:15:01 AM10/30/09
to
In one of my .net applications, i am reading the data (example user
firstname) from the Database and assigning that to a javascript array to
display it in a ListView in readonly mode.

var firstNames = new Array();

if(<%=FirstNames.Count %>>0)
{
<%for(int i=0; i<FirstNames.Count;i++)
{%>
firstNames[<%=i%>] = "<%=FirstNames[i]%>";
<%}%>;
}


Question:
As I am taking the Data directly from Database which is trusted source and
displaying it in UI in ready mode using javascript, do i need to encrypt the
firstname here?

0 new messages