Operating System - HP-UX
1758033 Members
2244 Online
108866 Solutions
New Discussion юеВ

How to setup login window

 
MANISH PATEL_2
Frequent Advisor

How to setup login window

Hi All,

I want login window which ask for userid and passwd when user type "ftp:///" through http. Normaly in linux when we ftp from window through IE we type "ftp:///"
it will popup linux default window and ask username and passwd then it will allow to ftp in linux.

I want to setup the same in hpux 11.i. Apache is configured in my host.

Can you guide me how to configure login window and where i need to setup in apache.

Thanks
Manish
6 REPLIES 6
Ivan Krastev
Honored Contributor

Re: How to setup login window

See apache documentation how to use access control and authentication - http://httpd.apache.org/docs/1.3/howto/auth.html


At the end of doc there is a full example.


regards,
ivan
Steven Schweda
Honored Contributor

Re: How to setup login window

And note that Apache is an HTTP server, not
an FTP server, so it is not involved if you
'type "ftp:///"', which is _not_
"through http."

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1196335
Matti_Kurkela
Honored Contributor

Re: How to setup login window

The login window with FTP URLs is a client-side feature. If a web browser is used as a FTP client, it will usually try an anonymous FTP login first, and will ask for a username and password only if the anonymous login is not allowed at the server side.

If you use an URL like

ftp://@/

it should bypass the anonymous login attempt and explicitly log in using a given username. The client should then request a password to go with the username.

If you want to disable the anonymous FTP feature at the server-side, the required actions depend on what kind of FTP server you have. The HP-UX server has a standard FTP server named "ftpd": optionally it can be replaced with a more featureful wu-ftpd.
Apache is not relevant here: it serves only http and https protocols, not ftp.

If you're using HP-UX standard FTP service and wish to disable the anonymous FTP feature, remove the user account "ftp".

Disabling the account is not enough: when the anonymous FTP feature is enabled, the account is supposed to exist in a disabled state so that the account is useful for FTP special use only. Read "man ftpd" for more information.

MK
MK
Steven E. Protter
Exalted Contributor

Re: How to setup login window

Shalom Manish,

So long as anonymous ftp is not enabled, a login prompt will occur.

What that looks like depends on what client you use to connect. There is no configuration required on the ftp server.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
MANISH PATEL_2
Frequent Advisor

Re: How to setup login window

.
Steven Schweda
Honored Contributor

Re: How to setup login window

You're welcome.

When you close a thread, it would be nice,
generally, if you would explain what actually
solved your problem, or, perhaps in this
case, that you've figured out what was wrong
with the original question.