Skip to content
Nexcess.comServers.comLiquidWeb.com
Search our site for answers
Login
  • Help Docs
  • API Docs
  • liquidweb.com
  • Hosting Services
    • Cloud VPS Hosting
    • Dedicated Servers
    • GPU Hosting
    • Hosting For WordPress
    • Hosting For WooCommerce
    • Email Hosting
    • VMware Hosting
    • Add-ons
  • Security & Compliance
    • SSL Certificates
    • Firewalls
    • Cloud Hosting
    • Two Factor Authentication
    • DDoS Protection
    • Compliance
    • Malware Protection
  • Domain & DNS
    • Domain Registration
    • DNS Settings
    • Nameservers
    • Subdomains
    • Domain Forwarding
    • Email DNS Setup
  • Account & Billing
    • Account Setup
    • Payment Methods
    • Billing Cycles
    • Refunds Cancellations
    • Invoices Receipts
    • Account Security
  • Email Hosting
    • Email Setup
    • Email Forwarding
    • Spam Protection
    • Microsoft 365
    • G Suite Setup
    • Account Security
    • Email Troubleshooting
  • Performance & Optimization
    • Server Optimization
    • Caching Strategies
    • Content Delivery Network
    • Database Performance
    • Image Optimization
  • Server Administration
    • Server Setup
    • SSH Access
    • Command Line Basics
    • Database Management
    • CRON Jobs
    • Apache Nginx Setup
    • Log Analysis
  • CMS & Applications
    • WordPress
    • WooCommerce
    • Magento
    • Joomla
    • Drupal
  • Backups & Recovery
    • Backup Strategies
    • Cloud Backups
    • Disaster Recovery
    • Restoring Backups
    • Raid Configurations
  • Reseller & Partner Support
    • Reseller Program
    • White Label Hosting
    • Partner Portal
    • Client Management
  • Policies & Compliance
    • Terms Of Service
    • Privacy Policy
    • GDPR Compliance
    • Acceptable Use Policy
Help Docs Cloud Sites Guide ASP.NET and IIS in Cloud Sites Using Impersonation for ASP and ASP.NET in Cloud Sites

Using Impersonation for ASP and ASP.NET in Cloud Sites

There are times when you might need the web server user to have the same permissions as you. This is called impersonation. The web server user can impersonate your site's main FTP user.
Account Cloud Sites Server Management Tutorials
2 min read

Your ASP or ASP.NET site (and all websites, in fact) use web servers to show your web content to website visitors. This web server has its own user account on your server. This means you can track the files the web server has read, written to, and scripts it has executed. The web server user often has different permissions than you do as the website administrator.

There are times when you might need the web server user to have the same permissions you do. This is called impersonation: the web server user “impersonates” your site’s main file transfer protocol (FTP) user. This means that it has permission to write to your files, create files, create folders, and perform other activities that would normally require full read, write, and execute permissions. If your content management system (CMS) or application needs these permissions, you must enable impersonation in your web.config file.

Where is my website located?

To find out where your account is located, check the test link for your site. If your test link includes “phx” in the URL, such as:

www.domain.com.asp1-3.phx3-1.websitetestlink.com

then your account is in PHX. It is the same format for ORD or DFW.  (PHX = DFW for this statement)

If your site is deployed in our PHX data center, add the following lines to your web.config file:

<configuration>
   <system.web>
    <identity impersonate="true" userName="dfwUSERNAME" password="PASSWORD" />
   </system.web>
</configuration>

You must replace “USERNAME” and “PASSWORD” with your website’s main FTP username and password.

If your site is deployed in our LAN data center (LAN = ORD for this statement), add the following lines to your web.config file:

<configuration>
   <system.web>
    <identity impersonate="true" userName="ordUSERNAME" password="PASSWORD" />
   </system.web>
</configuration>

You must replace “USERNAME” and “PASSWORD” with your website’s main FTP username and password.

Was this article helpful?
Thank you for your input.
Thank you for your feedback.
Get hosting news and tips straight to your inbox
Join our community today.
Loading form…
Essential hosting resources to help your business stay ahead
Get the guides
Related hosting content
  • WordPress Hosting
  • High-Speed Cloud Hosting Services
  • GPU Server Hosting

Solutions

Managed DedicatedCloud DedicatedManaged VPSWordPress ManagedManaged MagentoManaged WooCommerceSignature ServicesAdd-ons

Company

ContactAboutTerms of ServicePrivacy PolicyCustomer StoriesGlobal Cloud Platform

Resources

Help DocsResource CenterWeb Hosting ToolsSitemap

Partnerships

Hosting Affiliate ProgramPartner ProgramsRefer-a-Friend
HIPAA logo.
RedHat logo
cPanel and WHM certified.
SSAE-16 audit compliant hosting provider.
CCNA Cisco certified routing and switching for servers and hosting.
Microsoft Partner Silver Hosting.
AICPA service organization, SOC compliant.
2025 Best Performance and Reliability Award from HostAdvice.com.
Liquid Web reviewLiquid Web review
BBB Accredited Business logo with A+ rating.

©  Liquid Web, LLC by Nexcess Corp.

Privacy Policy

  • Solutions
  • VPS Hosting
  • Dedicated Servers
  • Managed Hosting
  • WordPress
  • GPU Hosting
  • Products
Log in
  • System status
  • Support | Get Help