Best Tutorials website


Prevent viewing of javascript and stylesheets

Prevent viewing of javascript and stylesheets

Prevent unauthorized viewing of website javascript and style sheet files. Simply rename all your style and javascript files to the .asp extension. Then include the validate_view.asp file at the top of each file. Open the validate_view.asp file and change the top the constants to those required. Then finally call the procedure name 'validate_view' with the current files content type as the parameter.




Views: 847 | Rating star | by Donald




View this tutorial
Broken link Report broken link?