[FIX] Protected folders are not working


2016-11-16 12:50:05 UTC


2017-04-24 11:31:07 UTC


Was this article helpful?

Have more questions?

Submit a request

[FIX] Protected folders are not working

Applicable to:

  • Plesk 10.4 for Windows
  • Plesk 9.x and below for Windows


A folder configured as "protected" on a domain can be accessed without any authorization.


  1. The Plesk ISAPI filter for protected directories is not configured on the website.

  2. The website server ID is not the same as the server ID stored in the Plesk database.

  3. There is a misconfiguration in the Plesk database.


  1. Check whether the urlprotect.dll ISAPI filter is enabled on the website in IIS:

    IIS, Web sites, domain.com, Right Click, Properties, ISAPI Filters, urlprotect.dll

  2. Check the website ID in IIS.

    IIS, Web sites, Find problem web site in list, Identifier is to the right of the site name. Alternatively, use this command line utility:

    "%plesk_bin%\\websrvmng" --get-server-id --vhost-name=domain.com

    You then need to check the server ID in the Plesk DB.

    select server_id from hosting h, domains d where h.dom_id=d.id and d.name='domain.com';

    If you receive two different values, you need to synchronize them:

    "%plesk_bin%\\websrvmng" --update-all-server-id

    Then restart Plesk Management Service .

  3. If the two previous steps did not resolve the problem, check the table protected_dirs in the Plesk DB. There should be no records with an empty value in the field path.

    select * from protected_dirs where path='';

    If any rows were returned, they should be removed.

    delete from protected_dirs where path='';

Have more questions? Submit a request
Please sign in to leave a comment.