Does anyone know where I can get php security scripts. One to stop the right click mouse button. One to not allow the internet explorer's tool panel to take pictures from your pages. Also a hotlink stopper script for html and php.
PhP Security scripts
Collapse
X
-
None of these require PHP.
The last one can be done with Apache:
-
Well I guess I should have asked the follow up question. Where would these scripts be placed? Index.php file? Or any php page?
I understand where the script goes in the html page source, but not in the php source page:
<HEAD>
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
<TITLE></TITLE>
<SCRIPT language="JavaScript">
<!--
var message="Right click not available.";
///////////////////////////////////
function clickIE() {if (document.all) {alert(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {alert(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</SCRIPT>
</HEAD>Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment