469,319 Members | 2,358 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,319 developers. It's quick & easy.

Disable save as option and view source from menu

i want to disable save as option and view source option from menu could any one help.....
Sep 18 '09 #1
3 3449
gits
5,390 Expert Mod 4TB
that cannot be done with JavaScript ... it is a basic browser feature that shouldn't and so can't be disabled from a webpage ...

kind regards
Sep 18 '09 #2
Dormilich
8,651 Expert Mod 8TB
even if it were, you could just disable Javascript…
Sep 18 '09 #3
gits
5,390 Expert Mod 4TB
very true :) ... so in summary ... it is not possible to hide such code from the users ... all JavaScript and HTML code needs to be downloaded to the client since the browser needs to parse and process it ... once downloaded (to the clients filesystem) it is just some clicks away to be viewed, copied, anaylized, locally changed or whatever ... those things are 'open source' per se, even when it might be licensed or soemthing like that ... it is not avoidable to have it viewed or stored somewhere. in case you need to hide things ... then you need to do that things at the server.

kind regards
Sep 18 '09 #4

Post your reply

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

Similar topics

5 posts views Thread by Barry | last post: by
9 posts views Thread by Dennis Allen | last post: by
6 posts views Thread by nntp | last post: by
3 posts views Thread by 00steve | last post: by
5 posts views Thread by Paul Sullivan | last post: by
1 post views Thread by carrajo | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.