How can I apply a security template is Plesk 12?
In plesk 11, the following command worked...
...but in Plesk 12 it shows the following message...
The documentation for HostingSecurity.exe does not document these commands.:
http://download1.parallels.com/Plesk/Doc/en-US/online/plesk-win-cli/index.htm?fileName=45525.htm
If --update-domain-security is changed to --update-webspace-security then it shows...
What I'm trying to do is use the command-line to grant write access to the web process on specific directories e.g. allowing a php script to create, update and delete files in httpdocs/cache
Thanks,
Julian
In plesk 11, the following command worked...
Code:
"%plesk_bin%\HostingSecurity.exe" --update-domain-security "--vhost-name=domain.co.uk" "--add-template=C:\plesk-security-templates\my-template.xml" "--user-name=domainuser"
...but in Plesk 12 it shows the following message...
Code:
command --update-domain-security not supported. Possible commands:
--help
--create-domain-template
--create-frame-forwarding-template
--create-webuser-template
--update-path-security
--update-psaadm-spaw-security
--repair-webspace-security
--update-webspace-security
--merge-webspace-subdomains-security
--remove-repair-folder-entry-flags
--rename-anonymous-user-to-pool-group
--repair-filesharing
--update-user-filesharing-security
--remove-user-filesharing-security
The documentation for HostingSecurity.exe does not document these commands.:
http://download1.parallels.com/Plesk/Doc/en-US/online/plesk-win-cli/index.htm?fileName=45525.htm
If --update-domain-security is changed to --update-webspace-security then it shows...
Code:
Missing required parameter --webspace-name. Possible parameters:
--webspace-name
[--pathes-file]
[--full-scan]
What I'm trying to do is use the command-line to grant write access to the web process on specific directories e.g. allowing a php script to create, update and delete files in httpdocs/cache
Thanks,
Julian