开发者

recognizing Drupal from website code

开发者 https://www.devze.com 2023-01-11 05:35 出处:网络
开发者_运维百科Can I make impossible for people to recognize I\'m using Drupal framework behind my website ?
开发者_运维百科

Can I make impossible for people to recognize I'm using Drupal framework behind my website ?

In other terms, can somebody easily see I'm using Drupal from the generated html code ?

I would to know all the strategies to detect it.

thanks


Just by looking at the generated source code, it's fairly easy to detect. If you look at the stylesheets included, you'll see they come from a Drupal install. For example :

<link type="text/css" rel="stylesheet" media="all" href="/mywebsite/modules/node/node.css?e" />

The pattern '/modules/node/node.css' is typical. Add to that <body> classes like front logged-in two-sidebars, and anyone who has already manipulated drupal a little will recognize it... Sorry about that, but I'm pretty sure you can't do anything to mask your using drupal


Can I make impossible for people to recognize I'm using Drupal framework behind my website?

No, you can't. Despite of the output returned from Drupal for any page (the output is changed if the option to compress CSS, or JavaScript files is selected), there are some files that needs to be accessible from an anonymous user, in order for the site to work; in example, there are some files present in the misc directory that are characteristic of a Drupal installation (or of a CMS derived from Drupal), like misc/drupal.js that is accessible as http://example.com/misc/drupal.js.

0

精彩评论

暂无评论...
验证码 换一张
取 消