By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
460,043 Members | 1,153 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 460,043 IT Pros & Developers. It's quick & easy.

Blocking Source Code

Stang02GT
Expert 100+
P: 1,208
Is there a way you can block people from right clicking on your page and being able to view your code?
Apr 15 '08 #1
Share this Question
Share on Google+
4 Replies


eWish
Expert 100+
P: 971
It can be done using JavaScript. However, that is easily manipulated to get past it. Most of the browsers will all you to view the source without having to right click. So basically not really.

--Kevin
Apr 15 '08 #2

Stang02GT
Expert 100+
P: 1,208
It can be done using JavaScript. However, that is easily manipulated to get past it. Most of the browsers will all you to view the source without having to right click. So basically not really.

--Kevin

Altighty, thanks very much!
Apr 15 '08 #3

nomad
Expert 100+
P: 664
Is there a way you can block people from right clicking on your page and being able to view your code?
If someone want to view your code I can always save it and then open it in a web program (dreamweaver).

nomad
Apr 16 '08 #4

harshmaul
Expert 100+
P: 490
you can obsfucate your markup/code. making it really hard for a person to follow.

but like nomad (i think) said you can just open it in dreamweaver.
Apr 16 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.