Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: file download security

by lonewolf32 (Initiate)
on Apr 15, 2002 at 15:54 UTC ( [id://159244]=note: print w/replies, xml ) Need Help??


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

I know - this won't be terribly secure. We are a small "niche" company, few ordinary people would want to download our stuff. I just want to get past the obvious security holes that a casual user would be tempted by.

Replies are listed 'Best First'.
Re: Re: Re: file download security
by extremely (Priest) on Apr 15, 2002 at 16:08 UTC
    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)

      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.

      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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://159244]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-19 05:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found