LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-27-2009, 09:12 AM   #1
vishnukumar
LQ Newbie
 
Registered: Jul 2009
Posts: 21

Rep: Reputation: 0
How to secure a directory in the web application?


Hi,

I have a project in my web server (apache tomcat). I am using red hat. I have a “flashfiles” directory in webapps/myproject/flashfiles. I can possibly access the files in the “flashfiles” directory as

http://localhot:8080/files/personal.swf

I have to secure the directory by accessing it only within the web application. Please, help me to secure the directory using web server or in red hat

Thanks
 
Old 08-27-2009, 09:43 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,510

Rep: Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944
Quote:
Originally Posted by vishnukumar View Post
Hi,

I have a project in my web server (apache tomcat). I am using red hat. I have a “flashfiles” directory in webapps/myproject/flashfiles. I can possibly access the files in the “flashfiles” directory as

http://localhot:8080/files/personal.swf

I have to secure the directory by accessing it only within the web application. Please, help me to secure the directory using web server or in red hat

Thanks
This sounds very much like a homework question....
 
Old 08-27-2009, 08:25 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,342

Rep: Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746
If you want secure webpage access, google htpasswd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Web application: cocoon jsp/servlet tomcat all in web application adilturbo Programming 0 11-24-2007 06:00 PM
Application for Secure Storage of Pin's, Pass, etc.. eldaria Linux - Software 2 12-28-2006 08:10 AM
Secure Web Hosting Tux-O-Matic Linux - General 11 11-08-2006 11:05 PM
Web Application to grab large files from web addresses farmerjoe Programming 3 10-16-2005 08:49 AM
Secure a web page sujte Linux - Security 2 06-15-2004 04:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration