Click here to Skip to main content
15,917,174 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: View Source Pin
Kapil Thakur6-Dec-06 23:09
Kapil Thakur6-Dec-06 23:09 
AnswerRe: View Source Pin
Guffa6-Dec-06 23:12
Guffa6-Dec-06 23:12 
GeneralRe: View Source Pin
Khan.Bangash6-Dec-06 23:25
Khan.Bangash6-Dec-06 23:25 
GeneralRe: View Source Pin
Ritika S6-Dec-06 23:48
Ritika S6-Dec-06 23:48 
GeneralRe: View Source Pin
Khan.Bangash7-Dec-06 0:27
Khan.Bangash7-Dec-06 0:27 
GeneralRe: View Source Pin
Ritika S7-Dec-06 0:49
Ritika S7-Dec-06 0:49 
AnswerRe: View Source Pin
Guffa7-Dec-06 23:09
Guffa7-Dec-06 23:09 
AnswerRe: View Source Pin
l0kke7-Dec-06 2:58
l0kke7-Dec-06 2:58 
Basically, your approach is completelly wrong. Even if you are able to disable 'View source' code in browser, that still doesn't prevent users to see your source code (anybody can make own 'browser', or just write few lines of code to run WebRequest and retrieve source of your html).

If you need to pass any sensible data, use ViewState, for example (anyway, it is not 100% secure, but it is not in plain text at least)

override LoadViewState and SaveViewState method of your ASP.NET page to implement this functionality.
If you don't know how to do this, ask google: http://www.google.co.uk/search?hl=en&q=override+SaveViewState&btnG=Search&meta=

I still don't understand, why do you want to pass sensible data into a page, why you just don't keep them on server?

Pilo
Questionhow to write code to display message box in asp.net Pin
Rmesh6-Dec-06 21:54
Rmesh6-Dec-06 21:54 
AnswerRe: how to write code to display message box in asp.net Pin
Vasudevan Deepak Kumar6-Dec-06 21:56
Vasudevan Deepak Kumar6-Dec-06 21:56 
GeneralRe: how to write code to display message box in asp.net Pin
Rmesh6-Dec-06 22:10
Rmesh6-Dec-06 22:10 
AnswerRe: how to write code to display message box in asp.net Pin
albCode6-Dec-06 22:08
albCode6-Dec-06 22:08 
GeneralRe: how to write code to display message box in asp.net Pin
Rmesh6-Dec-06 22:27
Rmesh6-Dec-06 22:27 
GeneralRe: how to write code to display message box in asp.net Pin
albCode6-Dec-06 22:44
albCode6-Dec-06 22:44 
QuestionIE pagesetup property for printersetup through javascript? Pin
param thaker6-Dec-06 20:20
param thaker6-Dec-06 20:20 
AnswerRe: IE pagesetup property through javascript? Pin
Kapil Thakur6-Dec-06 20:38
Kapil Thakur6-Dec-06 20:38 
Questioncode to exit Pin
Rmesh6-Dec-06 20:16
Rmesh6-Dec-06 20:16 
AnswerRe: code to exit Pin
Eduard Keilholz6-Dec-06 21:29
Eduard Keilholz6-Dec-06 21:29 
QuestionASP .NET mail sending without password of the sender Pin
Arindam Tewary6-Dec-06 19:00
professionalArindam Tewary6-Dec-06 19:00 
AnswerRe: ASP .NET mail sending without password of the sender Pin
Christian Graus6-Dec-06 20:01
protectorChristian Graus6-Dec-06 20:01 
GeneralRe: ASP .NET mail sending without password of the sender Pin
Arindam Tewary6-Dec-06 22:24
professionalArindam Tewary6-Dec-06 22:24 
GeneralRe: ASP .NET mail sending without password of the sender Pin
szukuro7-Dec-06 1:37
szukuro7-Dec-06 1:37 
AnswerRe: ASP .NET mail sending without password of the sender Pin
Kapil Thakur6-Dec-06 20:11
Kapil Thakur6-Dec-06 20:11 
QuestionObject Pooling Pin
aaraaayen6-Dec-06 18:41
aaraaayen6-Dec-06 18:41 
AnswerRe: Object Pooling Pin
Saqib Raja6-Dec-06 23:38
Saqib Raja6-Dec-06 23:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.