Hi everybody
I don't want to advertise here but a few days ago i was surfing and all of a sudden i came across to thefollowing website :
http://www.flex-graphics.com
but the interesting part for me was that , when you want to download from this site and exactly when you click
on a link to download , the webserver(apache) will ask you UserName and Password, for example click on
this link http://www.flex-graphics.com/Files/Full/FlexGraphics_Full.zip
i want to learn how to do that in my own website , could anyone help me?
I know that it is something related to Web-Server Configuration but not more....!
Thanks in advance.
Kind Regards.
The methods of which I am familar with, in asp.net, are configured via the web.config file. You set some authenitcation options in the web.config file and then you define the pages which do not require authentication.
This requires setting up a login page so when a user is not authenticated and hits a page requiring authenitcation they will be directed to the login page and once succcessfully logging in they will be automatically directed to the target page.
Check out some of the quick start tutorials http://quickstarts.asp.net/QuickStartv20/aspnet/doc/default.aspx