Allow file download only to subscribers

From: John Kotuby (johnk_at_powerlist.com)
Date: 01/14/04


Date: Wed, 14 Jan 2004 06:49:42 -0500

I have created a site with ASP (Active Server Pages). That requires a login
validated by an Access database. There is a file that I wish to be
accessible for download only by registered subscribers. All my ASP pages
check for the Userid/Password variables that I have set up, so a
non-subscriber gets bumped back to the login if they try to navigate
directly to a page other than the login. A subscriber with download rights
sees a link on their page to the file. However, if a non-subscriber enters
the exact path to the file, it gets downloaded anyway. I once tried a method
that forces an FTP from the server, but some subscribers complained that
they could not receive the file (firewall maybe?). How can I secure that
file? I'm sure there is a simple way, but I haven't found it yet. Thanks for
your help.



Relevant Pages

  • Re: ASP "Membership" or Login Scripts - Anybody with experience in implmenting?
    ... Does anyone here have any experience with ASP scripting concerning "membership", or selective login in products and/or implementing these features in an FP site? ... NetLogin User Management, http://www.aspworld.com/products/netlogin.asp?aid=1 ...
    (microsoft.public.frontpage.client)
  • Re: advice - spoofing an active directory login?
    ... Is there a way to set values within ASP to make them appear as though ... Basically I'm going to have info from the user's previous login passed ... in and I need to be able to authenticate them against AD without them ... >> Any advice for how this can be accomplished? ...
    (microsoft.public.win2000.active_directory)
  • Re: Losing Session Variables
    ... "Jimbo" wrote in message ... I have an ASP login page that once a user is ... > guess, since sessions use cookies). ...
    (microsoft.public.inetserver.asp.general)
  • server authentication & ASP authentication
    ... >I am designing quite a big database, about 50 tables, ... and send login and password entered by the user ... either in ASP ... I still need to store passwords ...
    (microsoft.public.sqlserver.security)
  • Re: problems connecting to database from outside.
    ... I'm able to use a username/password application to login ... unable to login using the localhost, ... I'm using flash-xml to send data to an asp form that store ... >>How can I trace and see where the connection stops? ...
    (microsoft.public.inetserver.asp.db)