Not natively. FTP does has minimum security control.e.g. login
authentication, ip restriction, access authorization, etc. but none of this
has open interface via ftp protocol.
so to get what you need. your app will have to do some magic. say
dynamically allow userABC to download file.
E.g. let's say. now your application accept userABC, so you need to create
userABC windows account, grant the account read / write access on the
files/etc. when userABC try to connect ftp, it will first authenticate with
ftp before accessing the file.
--
Regards,
Bernard Cheah
http://www.iis.net/ http://www.iis-resources.com/ http://msmvps.com/blogs/bernard/ [quoted text, click to view] "Steve Richter" <StephenRichter@gmail.com> wrote in message
news:1163870039.035628.129280@b28g2000cwb.googlegroups.com...
> Is is possible for the Windows FTP server to call a server side program
> that would decide if the FTP connection is to be accepted or rejected?
>
> The FTP server side program would be passed parms such as user name,
> password, IP address of the client, type of access ( put or get ) and
> the directory being accessed. This program would return an accept or
> reject return code.
>
> If this is not possible can I dynamically config access to the FTP
> server? If someone wants access to my FTP server they first visit my
> web site and an email message containing a temporary user name and
> password is sent to them. My server code then dynamically configs the
> FTP server to allow access to that user.
>
> Clicking the link on my web site to download a file ( source code )
> does not work because the end user is on a mainframe type system and
> the PC they are browsing from is not the system to FTP to.
>
> I hope this is clear.
>
> thanks,
>
> -Steve
>