How to remove meta tag "Generator"?
Author: James Becker
Visited 5259,
Followers 3,
Shared 0
Many hackers troll the web looking for the meta tag <metaname="generator" content.... />, looking for generators such as Joomla!, Drupal, Incomedia WebSite X5 Evolution, etc.... Once they know what software built the site they know a bit more how to attack the site.
I know how to do this with php files by simply placeing this line of code in the Head of your page ( <?php $this->setGenerator(null); ?> ), then when someone looks at the source code of you page they see <meta name="generator" content="" /> and have no clue what the generator was. Just makes it a little harder for them to hack your site.
So how can we do this in X5 ver 10 which renders html files??
Thanks for your time.
Posted on the
Hi James,
Unfortunately I don't know how to do this but would like to know the answer myself, or alternatively see an option created within X5 to remove the meta name reference if the user chooses.
Grateful to you for your tip on how to block the same using PHP. Thank you!
Hello James,
In WebSite X5 there's no option to remove the Tag Generator like in all Programs.
This is added automatically when the files are generated by the program during the export.
Many thanks!
Hi Claudio,
Thanks for the answer, but not strictly true? As well as using Website X5 I also use Serif WebPlus, and Serif introduced the ability to remove the 'company' meta-tag in the latest version of their software, version 6.
If they have proved it can be done, then can Incomedia consider working out how to do it with Website X5?
Many web designers do not wish to let either clients or visitors know which software they used to design their site, and as James points out it can also decrease security.
works perfectly
http://www.unofficialwsx5.com/index.php?topic=354.15
Hello Paul,
Thank you very much for the information. You can open a suggestion to add this function also to WebSite X5 with and "idea" post so that the developers sees it.
Many thanks!
Author
HiYa Pc Doctor,
I went to the url you provided above, but unfortunatly I do now understant that langualge. Is there any way I can see the thread in English??
Hello James,
You can try to open the page with google translator by adding the url instead of the text and then choose to translate it from italian to english.
Many thanks!
Author
HiYa Claudio,
I did as you suggested. The page was "translated" but the Enlish version made no sense at all. :( Seems the "translator" translates all the words (kind of) but has not a clue about grammer. :(
Hi James, download the script from here http://www.serzio.it/stats/download.php?id=9 , unzip to a local folder and after upload the script to your root domain folder.
Call the script with http://www.yourdomain.xxx/degenerator.php (check that you have php active on your domain) and after verify the code of your html pages. Previous changed was saved with .old extension.
It's work fine on LINUX host..
Note : each time that you upgrade your pages, you must run the script..
Another way is Windows grep http://www.wingrep.com/