[Thread Prev][Thread Next][Index]

Q: user and passwd protection



Hi there,

Anyone has done the passwd protect for the LAS? I tried to do so , but not success. Any hints?

This is what I did:
1) create a users (user, passwd)  file using htpasswd, under /etc/httpd/conf/users
2) insert these lines in httpd.conf:

<Directory /home/yuy/las>
     AddHandler cgi-script .pl
     Options +ExecCGI
     AuthName "LAS restricted data"
     AuthType Basic
     AuthUserFile /etc/httpd/conf/users
     require user yuy
</Directory>
where /home/yuy/las is the LAS directory I want to protected.

I got java exceptions when tried it.

additional question:
The httpd passwd protection is for apache service, not the servlet service. Therefore, before the very end step of displaying data at LAS when apache server is not touched yet, the passwd protection can not be applied. Is that right? If so, is there a way to protect the servlet service?

Thanks,

--
(Bob) Yunyue YU
Code 971, Goddard Space Flight Center
Greenbelt, MD 20771
(301)614-6850  yuy@nemo.gsfc.nasa.gov
 


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement