Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
GeneralRe: Source Code Encryption Pin
kKamel15-Sep-09 11:20
kKamel15-Sep-09 11:20 
GeneralRe: Source Code Encryption Pin
Christian Graus15-Sep-09 11:26
protectorChristian Graus15-Sep-09 11:26 
GeneralRe: Source Code Encryption Pin
Not Active15-Sep-09 11:46
mentorNot Active15-Sep-09 11:46 
GeneralRe: Source Code Encryption Pin
kKamel15-Sep-09 11:48
kKamel15-Sep-09 11:48 
GeneralRe: Source Code Encryption Pin
Adam R Harris15-Sep-09 10:51
Adam R Harris15-Sep-09 10:51 
GeneralRe: Source Code Encryption Pin
DarkSorrow3815-Sep-09 10:54
DarkSorrow3815-Sep-09 10:54 
GeneralRe: Source Code Encryption Pin
Christian Graus15-Sep-09 11:24
protectorChristian Graus15-Sep-09 11:24 
AnswerRe: Source Code Encryption - Already posted but under wrong post Pin
Adam R Harris15-Sep-09 10:54
Adam R Harris15-Sep-09 10:54 
Well you can use JScript.Ecode[^] (MSDN[^])but that really isn't very secure because anyone can decode it using the utility that is free from MS.
Once your JScript is encoded just set the Type on the script tag to "JScript.Encode"

But it will stop your know nothing users from getting the source of your JScript.
You should also put all your JS in a separate file and include it ... just another step for someone to decode it.

Another option would be to use AJAX to load all of your scripts and stuff, that way if the user views source they will only see the content that was originally sent to the browser and not anything AJAX has loaded.

The AJAX method is the best in my opinion but it could cause you to have to re-write your entire project to get rendered this way (read as PAIN IN THE A$$)

If at first you don't succeed ... post it on The Code Project and Pray.

AnswerRe: Source Code Encryption Pin
carlecomm21-Sep-09 21:25
carlecomm21-Sep-09 21:25 
QuestionHow to kill process using C#? Pin
DarkSorrow3815-Sep-09 9:35
DarkSorrow3815-Sep-09 9:35 
AnswerRe: How to kill process using C#? Pin
Not Active15-Sep-09 10:03
mentorNot Active15-Sep-09 10:03 
AnswerRe: How to kill process using C#? Pin
Manas Bhardwaj15-Sep-09 10:09
professionalManas Bhardwaj15-Sep-09 10:09 
AnswerRe: How to kill process using C#? Pin
Blikkies15-Sep-09 10:16
professionalBlikkies15-Sep-09 10:16 
GeneralRe: How to kill process using C#? Pin
DarkSorrow3815-Sep-09 10:26
DarkSorrow3815-Sep-09 10:26 
GeneralRe: How to kill process using C#? Pin
Blikkies15-Sep-09 10:34
professionalBlikkies15-Sep-09 10:34 
AnswerRe: How to kill process using C#? Pin
carlecomm21-Sep-09 22:02
carlecomm21-Sep-09 22:02 
QuestionHOW TO CODE PUBLISH BUTTON Pin
santosh_anu15-Sep-09 9:11
santosh_anu15-Sep-09 9:11 
AnswerRe: HOW TO CODE PUBLISH BUTTON Pin
Not Active15-Sep-09 10:01
mentorNot Active15-Sep-09 10:01 
AnswerRe: HOW TO CODE PUBLISH BUTTON Pin
Christian Graus15-Sep-09 10:16
protectorChristian Graus15-Sep-09 10:16 
AnswerRe: HOW TO CODE PUBLISH BUTTON Pin
santosh_anu16-Sep-09 2:25
santosh_anu16-Sep-09 2:25 
AnswerRe: HOW TO CODE PUBLISH BUTTON Pin
carlecomm21-Sep-09 22:04
carlecomm21-Sep-09 22:04 
GeneralRe: HOW TO CODE PUBLISH BUTTON Pin
santosh_anu21-Sep-09 23:09
santosh_anu21-Sep-09 23:09 
GeneralRe: HOW TO CODE PUBLISH BUTTON Pin
santosh_anu22-Sep-09 10:13
santosh_anu22-Sep-09 10:13 
Questionn()()b Crystal Report Question Pin
Adam R Harris15-Sep-09 8:41
Adam R Harris15-Sep-09 8:41 
QuestionAccessing to a ListView's Item ? Pin
Mohammad Dayyan15-Sep-09 8:32
Mohammad Dayyan15-Sep-09 8:32 

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.