Password protect files

I asked this question in the CGI area, but i thought of asking here to see if i get a faster answer.....

We need to allow users to go to our website and retrieve files detailing information about shipments crossing the nation. Thus i need to be able to provide a login screen (done), verification of the login info and once it is deemed ok, pull up the user specific screen for them to view or download.

What is the code i need to attach to my login screen? I don't want to use hosted password protection sites for this process. It may be simpler, but i feel a little uneasy of letting someone else know some of this information.

Thanks
dmyoungAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mblaseCommented:
There are several ways to do this, depending on how your site is implemented. If it's straight HTML, use htaccess() from the server side for directory-based locking. If it's entirely in CGI, or ASP, or ColdFusion, then there are straightforward ways to lock your pages using those technologies. The answer completely depends on what technologies your site is using.
0
dmyoungAuthor Commented:
i am using straight HTML
0
mblaseCommented:
what server/platform?
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

dmyoungAuthor Commented:
Unix
0
mblaseCommented:
Read this, then:

http://hoohoo.ncsa.uiuc.edu/docs/setup/access/Overview.html

It refers specifically to NCSA httpd (and Apache, by association), but I believe all UNIX web servers support this technique as well.
0
egbservicesCommented:
Why not take a look at the .htaccess, .htpasswd & .htgroup It needs user id and password and as far as I know it rates as medium to high protection with encrypted passwords. Check out the comments and answer to the following ee question:
http://www.experts-exchange.com/jsp/qShow.jsp?ta=html&qid=10066313 &search=htaccess

Also look at:
http://orinsight.com/support/password/password.html

If ok... the following page will encrypt your passwords:
http://ihug.co.nz/cgi-bin/getcrypt.pl
Edi
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dmyoungAuthor Commented:
that is exactly what i was look for,,,,, thank you
0
egbservicesCommented:
Thanks dmyoung
Just one simple question... How could you turn my 'comment' into an accepted answer? Is this an ee feature? Edi
0
dmyoungAuthor Commented:
In reading the comments, there is a selection in the green bar that allows me to accept most anything. (i learned this from another 'expert' in the Access forum.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.