Manage ColdFusion fonts with an account without administrative management

In the interest of securing my ColdFusion 9 server, I recently changed the Login account for the CF application service to a non-administrative account. Everything works fine with one exception: fonts are no longer available through the Font Management tools in CF Administrator. This happened because I use CFDocument to render .PDF files, and with the non-admin account they only used the Times New Roman font as the font. I made sure that the created service account has full access rights to the Windows Font directory, and I even copied all the fonts to a non-Windows directory and tried to add them from there. In both cases, fonts cannot be added using the font management tool and are not displayed in CFDocument. I'm not mistaken when trying to add fonts - just a blank screen. The only thing I can find in the logs is the link to org/jpedal/exception/PDFFontException .

Does anyone have experience using a non-admin account to run CF Application Server and what do I need to do to get the fonts working correctly?

+6
source share
1 answer

Can you try to give permission to \ColdFusion9\wwwroot\CFIDE\administrator\settings or \ColdFusion9\wwwroot\CFIDE\administrator\settings\fonts.cfm ?

0
source

Source: https://habr.com/ru/post/969916/


All Articles