WebSite X5Help Center

 
James Becker
James Becker
User

How to remove meta tag "Generator"?  en

Автор: James Becker
Просмотрено 5267, Подписчики 3, Размещенный 0  
Тэги: meta,tags

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.

Размещено
9 Ответы
Paul M.
Paul M.
Moderator

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!

Читать больше
Размещено От Paul M.
Incomedia
Claudio D.
Incomedia

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!

Читать больше
Размещено От Claudio D.
Paul M.
Paul M.
Moderator

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.

Читать больше
Размещено От Paul M.
Incomedia
Claudio D.
Incomedia

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!

Читать больше
Размещено От Claudio D.
James Becker
James Becker
User
Автор

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??  Smile

Читать больше
Размещено От James Becker
Incomedia
Claudio D.
Incomedia

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!

Читать больше
Размещено От Claudio D.
James Becker
James Becker
User
Автор

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. :(

Читать больше
Размещено От James Becker
Mi Lux
Mi Lux
User
James Becker
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?? 

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/

Читать больше
Размещено От Mi Lux