LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 10: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, 10:43 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,991

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
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, 09:25 PM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,311

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
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 07:00 PM
Application for Secure Storage of Pin's, Pass, etc.. eldaria Linux - Software 2 12-28-2006 09:10 AM
Secure Web Hosting Tux-O-Matic Linux - General 11 11-09-2006 12:05 AM
Web Application to grab large files from web addresses farmerjoe Programming 3 10-16-2005 09:49 AM
Secure a web page sujte Linux - Security 2 06-15-2004 05:25 AM


All times are GMT -5. The time now is 12:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration