Click to See Complete Forum and Search --> : Prevent Backup Script


Earl
07-25-2003, 12:24 PM
I'm trying to create a script that would prevent people from backing up from a subdirectory to the root directory. This is what I've tried (but it does not work)

<SCRIPT LANGUAGE="JavaScript" type="text/javascript">
<!-- Begin
if (parent.location.href == 'http://solo2.abac.com/uwsag/jll/') {
window.location.href = 'http://solo2.abac.com/uwsag/jll/';
}
// End -->
</script>

I put this on all pages besides the ones in the specified directory and all I got was an error msf.