SSL and FTP url on HTML file with username and password
<p>I have a doubt with one request/response across Web Browser and Server with SSL Certificate. Please, imagine the following case (<a href="https://stackoverflow.com/questions/13814676/ftp-username-and-password-in-html-link">similar question here</a>):</p>

<p>I want that the server, response a HTML to the user (in his/her browser) with access to one file in the FTP, for example:</p>

<pre><code>&lt;a href="ftp://theftpserver.com/files/acounts.pdf"&gt;Download file&lt;/a&gt;
</code></pre>

<p>In this case, accessing with Anonymous user not generate any problem to access to this file, but if the user has a access with username and password, put this on HTML, it will not be very secure, example:</p>

<pre><code>&lt;a href="ftp://username:password@theftpserver.com/files/acounts.pdf"&gt;Download file&lt;/a&gt;
</code></pre>

<p>I want to prevent that this response with this username and password tag  between the server and the user would be catched by "Someone" and get the Username and Password of the user.</p>

<p><strong>The SSL certificate can solved this? Or the best way to do this is create a directory with username and password only with read properties?</strong></p>