Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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)


Comment on Re: Re: Re: file download security
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
        HTH
        jg
        _____________________________________________________
        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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2014-09-22 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (205 votes), past polls