|
Home > Archive > IIS FTP Server > September 2004 > Username/Password
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| I have my FTP site set up and working but I cannot
configure it to ask for a username and password. I have a
FTP user set up for that directory and Allow Anonymous
Access checked with the FTP username and password I set
up. Howerver, when I put the FTP address in my browser I
have instant access to the files. I need for it to ask
for the username/password.
Thanks in advance.
| |
| Jeff Cochran 2004-09-05, 5:51 pm |
| On Fri, 3 Sep 2004 18:36:17 -0700, "Aaron"
<anonymous@discussions.microsoft.com> wrote:
>I have my FTP site set up and working but I cannot
>configure it to ask for a username and password. I have a
>FTP user set up for that directory and Allow Anonymous
>Access checked with the FTP username and password I set
>up. Howerver, when I put the FTP address in my browser I
>have instant access to the files. I need for it to ask
>for the username/password.
It is behaving exactly as you set it up. "Allow Anonymous" means
exactly that -- Allow anonymous users to have access, don't ask for a
username or password.
So the solution is to uncheck "Allow Anonymous" when you don't wish to
allow anonymous users. 
Jeff
| |
| Alun Jones [MSFT] 2004-09-07, 5:57 pm |
| "Jeff Cochran" <jeff.nospam@zina.com> wrote in message
news:41496159.1114439038@msnews.microsoft.com...
> It is behaving exactly as you set it up. "Allow Anonymous" means
> exactly that -- Allow anonymous users to have access, don't ask for a
> username or password.
Almost, but not quite.
The FTP server always asks for a username and password. Or rather, it won't
let you do anything of any interest until you've entered them. However, the
standard document defining what an FTP URL means, RFC 1738, states that if
no username is provided to the browser in the URL, the username "anonymous"
is to be provided by the browser to the FTP server.
Log on to your server using the command-line FTP client, and you'll see it
offering you a prompt to enter the username, and then one for the password.
Log on using a browser, and it won't, because "anonymous" got accepted.
If you monitor the traffic between the browser and the server, you'll see an
exchange that contains the "USER" and "PASS" commands.
One trick I use is to create URLs such as "ftp://???@site.example.com" -
since the "???" user isn't on your system (you can't use that character in a
user name), it'll try it, receive a failure, and then prompt the browser
user for a working user name and password.
Alun.
~~~~
| |
| FortnerA87 2004-09-10, 5:53 pm |
| Where do you make the accounts at and the passwords to
allow people to login to your FTP server?
>-----Original Message-----
>"Jeff Cochran" <jeff.nospam@zina.com> wrote in message
>news:41496159.1114439038@msnews.microsoft.com...
Anonymous" means[vbcol=seagreen]
don't ask for a[vbcol=seagreen]
>
>Almost, but not quite.
>
>The FTP server always asks for a username and password.
Or rather, it won't
>let you do anything of any interest until you've entered
them. However, the
>standard document defining what an FTP URL means, RFC
1738, states that if
>no username is provided to the browser in the URL, the
username "anonymous"
>is to be provided by the browser to the FTP server.
>
>Log on to your server using the command-line FTP client,
and you'll see it
>offering you a prompt to enter the username, and then one
for the password.
>Log on using a browser, and it won't, because "anonymous"
got accepted.
>
>If you monitor the traffic between the browser and the
server, you'll see an
>exchange that contains the "USER" and "PASS" commands.
>
>One trick I use is to create URLs such as "ftp://???
@site.example.com" -
>since the "???" user isn't on your system (you can't use
that character in a
>user name), it'll try it, receive a failure, and then
prompt the browser
>user for a working user name and password.
>
>Alun.
>~~~~
>
>
>.
>
| |
| Alun Jones [MSFT] 2004-09-10, 5:53 pm |
| "FortnerA87" <osmosiss@keepersoftwilight.com> wrote in message
news:9a4c01c4974d$e6b9f8c0$a501280a@phx.gbl...
> Where do you make the accounts at and the passwords to
> allow people to login to your FTP server?
They're regular Windows user accounts - you create them the same ways that
you would create Windows users for any other purpose.
Alun.
~~~~
|
|
|
|
|