Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Date Date
Qty:
Subtotal
Promotions
Estimated Shipping
VAT
Calculated at checkout
Total
Checkout
ColdFusion Help / 

Running ColdFusion as a specific user

Adobe Community Help


Products Affected

  • ColdFusion

Contact support

 
By clicking Submit, you accept the Adobe Terms of Use.
 

This article describes how to configure the ColdFusion Application Server services to run under a specific non-administrator user account on Windows and Unix and also includes what permissions are needed on what files/directories for a standard install of ColdFusion on Windows. This may be important for implementing ColdFusion Advanced Security (version 5 or earlier only) or giving ColdFusion Server execute privileges on a specific directory. This TechNote applies to Windows NT/2000/XP/2003 and Unix-based environments and assumes that you have chosen the default ColdFusion installation directory.

Note: On Windows NT/2000/XP/2003, using Sandbox security in versions 5 and earlier requires that the ColdFusion Application Service must be running under the System account. The steps in this TechNote cannot be used if Sandbox security is implemented.

To change the account ColdFusion Server runs under, use the following instructions.

Windows NT:

  1. In User Manager for Domains, create a local user for the ColdFusion services to log in as.
  2. Select the Start menu > Settings > Control Panel > Services.
  3. Highlight the ColdFusion Application Server service and click Startup.
  4. Choose the "This account" radio button and browse for the user account you created.

    Enter the password for the account you created. ColdFusion Server will only function with the correct password in the "password" list box.
  5. Add the user account that ColdFusion is running under. This account should have "Full Control" permissions for the following items:

    • WebDocument Directory
    • c:\cfusion or c:\cfusionmx (and all subdirectories)
    • c:\winnt
    • c:\winnt\system32
  6. Click Start on your Windows NT menu, click Run, and type Regedt32. Click Enter.
  7. Navigate to the following key:

    /HKEY_LOCAL_MACHINE/SOFTWARE/
  8. Click Security in the menu, and select Permissions.
  9. Add the newly created ColdFusion user and give that user full control of the registry key. Click the checkbox to replace the permission on existing subkeys.



    Important note for ColdFusion 5 and earlier: If you are using Advanced Security, repeat step 3 for the ODBC and Netegrity keys (and existing subkeys). The ODBC and Netegrity keys are also found under the following hive:



    /HKEY_LOCAL_MACHINE/SOFTWARE/.



    Warning: Please keep in mind that that the user granted permissions to this particular registry key now has full access permissions to all registry entries below this key. This can be a security concern. Consult your IT department guidelines to decide on the best security practice.
  10. Reboot.

Windows 2000/XP/2003:

  1. In User Manager for Domains, create a local user for the ColdFusion service to log in as.
  2. Select the Start menu > Settings > Control Panel > Administrative Tasks > Services.
  3. Highlight the ColdFusion Application Server service, right click on it and select Properties.
  4. Under the Log On tab, choose the "This Account" radio button and browse for the user account you created.



    Enter the password for the account you created. ColdFusion will only function with the correct password in the "password" list box.
  5. Add the user account that ColdFusion Server is running under. This account should have "Full Control" permissions for the following items:

    • WebDocument Directory
    • c:\cfusion or c:\cfusionmx (and all subdirectories)
    • c:\winnt or c:\windows
    • c:\winnt\system32 or c:\windows\system32
  6. Click Start on your Windows NT menu, click Run, and type Regedt32. Click Enter.
  7. Navigate to the following key:



    /HKEY_LOCAL_MACHINE/SOFTWARE/
  8. Click Security in the menu, and select Permissions.
  9. Add the newly created ColdFusion user and give that user full control of the registry key. Click the checkbox to replace the permission on existing subkeys.



    Important note for ColdFusion 5 and earlier: If you are using Advanced Security, repeat step 3 for the ODBC and Netegrity keys (and existing subkeys). The ODBC and Netegrity keys are also found under the following hive:



    /HKEY_LOCAL_MACHINE/SOFTWARE/.



    Warning: Please keep in mind that that the user granted permissions to this particular registry key now has full access permissions to all registry entries below this key. This can be a security concern. Consult your IT department guidelines to decide on the best security practice.
  10. Reboot.

In general, if you are having a permissions issue on a server, check the details below for what ColdFusion permissions are needed and where. If permissions are changed, restart the ColdFusion Application Server service and web server service (typically World Wide Web Publishing for IIS) in the Services panel. If the issue is not resolved and you can not access a certain page, reboot the whole server to ensure that any files that may be cached in memory with the old permissions are recycled.

Windows Permissions Summary:

  • System Account - The system account should be added to file permissions to give the web server access to the directory for the web root of the web site(s) as well as the CFusionmx\cfusion install directory. It should be given read and execute permissions.
  • ColdFusion Account - The account under which ColdFusion is running should be added to file permissions to give the web server access to the directory for the web root of the web site(s) as well as the CFusionmx\cfusion install directory. It should be given read and execute permissions. By default it is the system account. To check this account go to the Services Control Panel, highlight the ColdFusion service and click Startup.
  • The Anonymous User Account (IUSR_machinename) - The anonymous user account is used for anonymous access on the IIS web server. This user needs to be added to all files or directories to which anonymous logon is desired. It should be given read and execute permissions.
  • Any user or group which should have access to a ColdFusion template directory or file. It should be given read and execute permissions.
  • In addition to ColdFusion template directories, thecf_root\runtime\lib\wsconfig\1\jrun.dll (ColdFusion MX 6.1) or cf_root\bin\iscf.dll (ColdFusion 5 and earlier, with IIS) must also have proper permissions placed on it. Note: the "1" in the directory path above may differ depending on how many times you have run the connector or if you have ColdFusion configured with more than one web server. Since all users must have access to jrun.dll or iscf.dll to process a ColdFusion page, it is generally easiest to assign the Everyone group to jrun.dll or iscf.dll.

Unix-based Systems (Solaris, Linux and HP-UX):

  1. Stop the ColdFusion Server processes.
  2. Rerun the installer, entering your preferred new account during the reinstall (the account must be created prior to rerunning the installer).



    This will adjust permissions on the ColdFusion program files as necessary, and allow the new user to run with the appropriate permissions. All other settings in your original installation are left intact.
  3. Restart the ColdFusion processes.



    Typically, if you have stopped the ColdFusion Server processes, the system will restart the processes.
To the top

Additional Information

  • Securing ColdFusion pages through IIS (17029)
  • ColdFusion MX: Implementing NT authentication for ColdFusion templates with IIS Web Server (18516)
  • ColdFusion MX 6.1 installer on UNIX changes web root owner (19143)
Keywords: tn_17279

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement