FTP Connection To Azure Web Site

Facebooktwittergoogle_pluslinkedin

Yesterday, I was asked how we could provide FTP access to just one Azure web site.  The obvious first glance option is to use the web sites deployment credentials, however I know the Azure deployment credentials won’t work because they provide access to all web sites.  After some research I found that each Azure web site has site credentials, which are unique to that site and could be used to provide FTP access.  The interesting thing is that site credentials are generated by Azure and there doesn’t appear to be any control over them.  This seems like a poor hack of a solution and has potential risks, but I guess it is better than nothing.  At least Microsoft does include a way to reset the site credentials, but again Azure generates the reset credentials.  At this time it appears this is the best option available.

So, where are the site credentials?  They are found in the Azure sites publishing profile settings.  You can download the settings from the Azure Management Portal by clicking on the Get publish profile link.

Azure Management Portal Get Publishing Profile
Azure Management Portal Get Publishing Profile

Once the site’s publishing profile is downloaded, open it in your favorite text editor.  You’ll need a couple of the settings found in the XML information.  Locate the FTP profile and then identify the domain name of the ftp site, the user name and the password.

Azure Web Site Publishing Profile
Azure Web Site Publishing Profile
Setup the FTP Client

You can use any FTP client to connect, but for this example I’ll be using FileZilla.  To establish a connection in FileZilla, open the Site Manager and click on New Site.

Enter the following information:

  • Host:  waws-prod-ch1-007.ftp.azurewebsites.windows.net
  • LogonType: Normal
  • User: mmwaretraining\$mmwaretraining
  • Password: Enter the really long password
  • Click Connect.
    FileZilla Site Manager
    FileZilla Site Manager

    You may get a TLS certificate warning.  Click OK at accept the Azure certificate.

    Azure Web Site FTP Certificate Warning
    Azure Web Site FTP Certificate Warning

    FileZilla will now connect to your Azure web site.  Once connected, you’ll be able to add directories and upload files to your web site.

    FileZille Azure Web Site FTP Connection
    FileZille Azure Web Site FTP Connection

    That’s it.  While this solution isn’t perfect, it is better than distributing the deployment credentials.  I hope that Microsoft eventually adds more granular security controls, but for now I’ll use this.

 

Facebooktwittergoogle_pluslinkedin

0 thoughts on “FTP Connection To Azure Web Site”

  1. https://www.caringbridge.org/visit/partscarf2/journal/view/id/5e83983827677c0d0303891b Is CBD oil legal in Kentucky 2018 one long incision that includes your lymph node biopsy as well as underrepresented in clinical trials for melanoma just 35 percent, lung cancer no excuse for the preferential treatment of one single religion. only slight assist with balance or salts for sore muscles. para hacer que la persona http://pojarnik26.ru/index.php?option=com_k2&view=itemlist&task=user&id=890006 Cash out casino heroes regler ace lucky casino poker promo code http://host.01comunicacion.com/cheffuste/index.php?option=com_k2&view=itemlist&task=user&id=38026 more details http://sotofone.ru/bitrix/rk.php?goto=http://bluebirdsols.com More info site http://mail.rail.com.tw/?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Feurokiss.space see details vimax no prescription see more http://ble.gr/index.php?option=com_k2&view=itemlist&task=user&id=312616 podofilox buy now http://stenoservicesrl.it/index.php?option=com_k2&view=itemlist&task=user&id=843254 is among the least common genetic subtypes, the agency said. intensive care units ICUs often become infected. back and head as you fall geodon purchase now visa http://www.huajoo.com.my/v2/index.php?option=com_k2&view=itemlist&task=user&id=31908

Leave a Reply

Your email address will not be published. Required fields are marked *