Completely disable entire site?
Hi
One of our customers had a site, that had some malicious code. He disabled the site (let's say)
example.com
If you visit that domain, it is disabled. However, there is a link still enabled (let's say)
example.com/files/this_directory/that_directory/nasty_code.html
Is this possible or is the link still cached in my browser?
Thanks
-
Depends how it was disabled, did he put 'deny from all' in .htaccess? Could still be overwritten if there is another .htaccess allowing access to 'nasty_code.html' But yes it could be cached in browser, just open up your browser in incognito mode and test it. 0 -
We do similar by blocking it via .htaccess Order deny,allow Deny from all Allow from ##.##.##.##
That way the site owner can still access email and you can allow them access via the "allow from" so then can run updates etc. As @Jcats said, it's not foolproof as the .htaccess file can easily be overwritten.0 -
As always. Thanks guys! 0
Please sign in to leave a comment.
Comments
3 comments