![]() | |
#11
| |||
| |||
|
|
A large portion of web sites that deploy major JS tend to |
|
hide it with file includes so people won't leech ideas. |
#12
| |||
| |||
|
|
hide it with file includes so people won't leech ideas. unless they know to look in the temp internet folder for the .js file. |
|
Is there a better way to hide it than this? Like - you can't put js functions in an invisible frame can you? They have to be put up top, where everyone can see them, or in a file include where people can dig them out - don't they? We tried to hide *all* of our source by running things in our own "bare" window (no "View" tab) and disabling right-click, but that only worked for some browsers. Seems a bit of a challenge to hide code securely on the web. I don't mind that really. The stuff that *really* matters is the stuff on the application server. |
|
Incidentally - this brings me to something else I've been meaning to mention: I would *strongly* recommend that, whatever validation you do on the client - with javascript or whatever, and on the web-server - with PHP or whatever, you really *must* validate it all again on the DBMS. |
![]() |
| Thread Tools | |
| Display Modes | |
| |