Is FTP publishing from Visual Studio 2010 secure? - visual-studio-2010

I noticed some strange activity on a server after I had been using FTP to publish for a few days...
edit: added this to give an example, skip over this quote if you have no idea
Basically when I got back an error message from my app in the form of
HTML, my browser was trying to find a favicon at this URL:
http://w00tw00t.at.blackhats.romanian.anti-sec/
I am pretty sure that FTP sends passwords in plain text but I wasn't sure if Visual Studio had any other mechanism for securing this, or if I need to set something on the server. Any ideas?

FTPS is supported in the "Publish Web Site" dialog. Enter the address as ftps rather than ftp or http and if the site is set up for FTPS it should work. What is not supported as I can see is opening a Web site with FTPS rather than plain ftp.

FTP will send your credentials in plain text so in theory, your credentials could have been intercepted and reused in transit. Unfortunately Visual Studio doesn't support SFTP or FTPS so your best bet is to publish from Visual Studio using Web Deploy which will connect over HTTPS if publishing to IIS7.

Related

Prepare Teams App Dependencies fails behind proxy

I create a new Teams application in Visual Studio 2022 (17.4.4). When I try the "Prepare Teams App Dependencies", I get a failure from AppStudioPlugin with the message "API call to Developer Portal failed: Error, connect EACCES 52.113.194.132:443, API name: create-app, ..."
I am behind a proxy, and I see a drop in the firewall logs to 52.113.194.132:443, so it's not going to the proxy.
When I open a browser on that machine, I can go to the developer portal (https://dev.teams.microsoft.com/) without a problem, so the proxy does allow this.
When I open port 443 in the firewall, everything works.
My question is: How do I get it to work via the proxy ?
I did already try to add the proxy to the visual studio config, but also that did not make a difference.
17.4 VS Teams Toolkit uses a language server to handle data between VS and Teams Dev portal. You can try to add this language server to your proxy and test it.
Language server location: ~\appdata\local\microsoft\visualstudio\{VS_version}\extensions\Microsoft\teams toolkit\{Teams_toolkit_version}\server.exe

clickonce ftp publishing denied for policy reasons

I can't get Visual Studio 2017 publish a Winforms application through ClickOnce to my new ftp server with IIS 10/Windows 2016.
Both anonymous and basic authentications are enabled in the server, authorisation is read+write for all users.
I can post a file successfully from a Filezilla client, but publishing to same folder with Visual Studio throws next error:
Failed to connect to 'ftp://ftp.myftpserver.com/myfolder/' with the following error: Unable to create the Web site 'ftp://ftp.myftpserver.com/myfolder'. Request denied for policy reasons.
Any suggestions?
If you require to use FTPS I got it to work by explicitly stating ftps://IPOFFTPORDOMAIN in Server: field of Publish window Profile. I found this tutorial from one of the hosting providers: https://www.a2hosting.com/kb/a2-hosting-products/windows-hosting/publish-a-site-from-visual-studio-using-ftps
Removing SSL request from FTP server did the job.
It seems VS2017 cannot publish through FTPS

FileZilla: My FileZilla does not have two panel layout and says "Warning: FTP over TLS is not enabled users cannot securely login"

I am brand new to using an FTP server. I just downloaded FileZilla and did nothing different, just kept hitting continue through the insallation and then opened it with the server 127.0.0.1 and the default port.
Now I get this:
Also when I see other people putting their files on the server they have a different looking application than I do. It is split and has two different sides in which they load the files to the server. I do not see how they got to that. I watch a beginners tutorial, but it did not really explain how to get to that part.
You have installed FileZilla server.
While you probably wanted FileZilla client.

Is omnisharp Server similar to IIS express

Is omnisharp server similar to IIS express? Let's say I have a project folder which has only html files, I start the ominisharp server through atom text editor. It gets started and says listening at port xxxx
If I browse localhost://xxxx/index.html will it serve that file?
I am newbie please clarify
No, the point of the Omnisharp server is not to be a general purpose web server - it's to act as a service. Think of it as an "IDE service" that just happens to exposed itself over HTTP, as that's the easiest way for many clients to talk to a service.
Unless you need to integrate something with Omnisharp yourself (i.e. writing code to be a client), you can probably just think of it as a plugin for whatever you're using. (In most cases there will be an actual plugin, which then talks to Omnisharp.)

Flash can't access XML files when running under Localhost

We have a Flex/Flash application that loads information from XML files created by a .NET application. It works fine under IIS but when I try to run it from Visual Studio 2010 or 2012 using the ASP.NET Development Server, the Flex/Flash app isn't loading the information. I brought up Fiddler and am able to see that there's an error occurring when the Flash tries to access the XML:
[Fiddler] The socket connection to localhost failed. ErrorCode: 10061. No connection could be made because the target machine actively refused it 127.0.0.1:80
I've turned off my Firewall but that didn't help. So, I'm not sure where the block is occurring. Any thoughts?
[Update: switched from Asp.NET Development Server to IIS Express and am still getting the exact same error.]
[Update2: I've verified that the XML file the Flash is trying to reach comes up fine in the browser: http://localhost:63318/ProductDetailsXML.aspx?ProductId=71]
It may have to do with it being served off of a specific port (not 80). How is your application requesting the XML file? According to your Fiddler log, it's trying port 80, but your site is running on port 63318.

Resources