• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 202
  • Last Modified:

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
0
dmyoung
Asked:
dmyoung
  • 4
  • 3
  • 2
1 Solution
 
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
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
 
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

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now