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

Disable save as option and view source from menu

P: 11
i want to disable save as option and view source option from menu could any one help.....
Sep 18 '09 #1
Share this Question
Share on Google+
3 Replies

Expert Mod 5K+
P: 5,390
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

Expert Mod 5K+
P: 8,639
even if it were, you could just disable Javascript…
Sep 18 '09 #3

Expert Mod 5K+
P: 5,390
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.