Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Re: Re: file download security

by extremely (Priest)
on Apr 15, 2002 at 16:08 UTC ( #159250=note: print w/replies, xml ) Need Help??

in reply to Re: Re: file download security
in thread file download security

Welll, OK. *eyes you suspiciously* =)

I still don't understand why you don't just turn on some sort of webserver authorization for the directory you place the files in. That would solve your problem with exactly 0 lines of code...

$you = new YOU;
honk() if $you->love(perl)

Replies are listed 'Best First'.
Re: Re: Re: Re: file download security
by lonewolf32 (Initiate) on Apr 15, 2002 at 16:53 UTC
    can you be more specific? The only thing I know how to do on the server is set permissions on files/directories using the NT interface... but like I said if I restrict access to that directory, I can't link to it either.
      Does your webserver support .htaccess files? It probably does. If so, you can use the browser to enforce the password, and not worry about having any code on your side do it. Just search the web for .htaccess and you'll find a ton of tutorials.

      Note that the password would still be sent in plain text, but you said you aren't bothered by that.

        I am by NO means an expert but the last time I investigated this there is no equivalent to .htaccess on NT excepting a proprietary .exe called dafauth or something similar
        Think a race on a horse on a ball with a fish! TG
Re: Re: Re: Re: file download security
by lonewolf32 (Initiate) on Apr 15, 2002 at 17:11 UTC
    could you be more specific? I know how to set up file permissions within NT but like I said before if I restrict a file or directory my calling file can't get to it either.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://159250]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2020-10-24 03:48 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (242 votes). Check out past polls.