471,854 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,854 software developers and data experts.

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 3535
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
8,658 Expert Mod 8TB
even if it were, you could just disable Javascript…
Sep 18 '09 #3
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 YellowAndGreen | last post: by
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.