11-23-2010
Security for applets files inside a folder
Friends
I have a directory structure /a/b/c/applets/ This directory has .java, .class and other applet files. I gave the applets folder 755 permission because these applets are displayed at different web pages of a portal.
Now I want to restrict the visibility of all the files in this applets folder only for logged in users. As of now, when I hit the URL directly something like
http://mydomain/applets/someFilename.java the code is visible which is security vulnerable. Any advice on how to implement this?
I am on Solaris and moderators please feel free to move the thread if its not relevant to this section. Thanks!
---------- Post updated 11-23-10 at 10:23 AM ---------- Previous update was 11-22-10 at 12:24 PM ----------
Any guidance guys?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am using a perl script which deletes the files in a temp area, when run from the command prompt, but fails when called from the applet through URL.
The permissions for the files and directory is "777".
what may be the reason......??????
help me out.....
thanks,
Jay. (1 Reply)
Discussion started by: Jayathirtha
1 Replies
2. UNIX for Advanced & Expert Users
Hello all,
I'm trying to accomplish that if a file gets written to folder /path/to/a/ it gets automatically copied into /path/to/b/ the moment its get written.
I thought of writing a shell script and cron it that every X amount of minutes it copies these files over but this will not help me... (2 Replies)
Discussion started by: Bashar
2 Replies
3. Shell Programming and Scripting
Hi all,
I have copied all my files to one folder.and i want to check how many files (count) in the folder recently moved or total files in my folder?
please send me the query asap. (3 Replies)
Discussion started by: durgaprasad
3 Replies
4. Shell Programming and Scripting
Hi all,
*I use Uwin and Cygwin emulator.
I´m trying to search for all text files in the current folder (C/Files) and its sub folders using
find -depth -name "*.txt"
The above command worked for me, but now I would like to copy all found text files to a new folder (C/Files/Text) with ... (4 Replies)
Discussion started by: cgkmal
4 Replies
5. UNIX for Dummies Questions & Answers
I'm trying to make this code below to work but I can't find the way to do the following: I want to make the script to touch only 10% of the total amount of files counted inside the given directory instead of all like it is now.
I would greatly appreciate it if someone can give me a direction on... (9 Replies)
Discussion started by: regraphix
9 Replies
6. Shell Programming and Scripting
I need to process 4 files having name pattern as followis:-
1) Each file starts with = ABCJmdmfbsjop letters + 7 Digit Number _mm-dd-yyyy-hh-mm-ss-3 Digit Number.data
where ABCJmdmfbsjop :- is alphabet. Each file starts with this ABCJmdmfbsjop alphabet.
7 Digit Number :- Numeric 7 digits.
__:-... (1 Reply)
Discussion started by: lancesunny
1 Replies
7. Shell Programming and Scripting
There are 4 files inside one folder matching criteria i.e. File name = ABCJmdmfbsjopXXXXXXX_mm-dd-yyyy_XXX.data
Here is the Code which find the files matching criteria:-
TS=`date +"%m-%d-%Y"`| for fname in `find . -name "ABCJmdmfbsjop???????_${TS}*.data"`
do # Matching File Processing Code.... (1 Reply)
Discussion started by: lancesunny
1 Replies
8. UNIX for Dummies Questions & Answers
Hi
here is my code
for i in `ls *.cmd`
do
msg
aaa imp -U$AAAUSER -P$AAAUSERPWD <$i>>$curdir/import_tap.out -Jutf8
done
I can only get all files with .cmd extension. what i need to get are all the files inside the specific folder
Thanks (2 Replies)
Discussion started by: cmarzan
2 Replies
9. Shell Programming and Scripting
I need help to write shell script to copy files from one server to another server.
Source Directory UAE(inside i have another folder Misc with files inside UAE folder).I have to copy this to another server UAE folder( Files should be copied to UAE folder and Misc files should be copied in target... (3 Replies)
Discussion started by: naresh2389
3 Replies
10. Shell Programming and Scripting
Hi Team,
I am new to shell script and there is a requirement where files should be moved from Subfolder to parent folder.
Eg:
parent folder --> /Interface/data/test/IN
Sub folder -->/Interface/data/test/IN/Invoice20180607233338
Subfolder will be always with timestamp... (6 Replies)
Discussion started by: srivarun15
6 Replies
LEARN ABOUT DEBIAN
multiload_applet
MULTILOAD_APPLET(1) MULTILOAD_APPLET(1)
NAME
multiload_applet - Multiload (cpu, load average, memory, net, swap) applet for the GNOME panel.
SYNOPSIS
multiload_applet [ --activate-goad-server[=GOAD_ID] ]
DESCRIPTION
multiload_applet Contains 5 applets.
CPU Load Applet. To add this applet to a Panel, right-click on the Panel and choose Applets->Monitors->CPULoad
Load Average Applet. To add this applet to a Panel, right-click on the Panel and choose Applets->Monitors->Load Average
Memory Applet. To add this applet to a Panel, right-click on the Panel and choose Applets->Monitors->MemLoad
Net Applet. To add this applet to a Panel, right-click on the Panel and choose Applets->Monitors->NetLoad
Swap Applet. To add this applet to a Panel, right-click on the Panel and choose Applets->Monitors->SwapLoad
OPTIONS
--activate-goad-server
(Internal use only) GOAD server ID to activate
GOAD_ID may be:
multiload_cpuload_applet start the cpu applet.
multiload_loadavg_applet start the load average applet.
multiload_memload_applet start the memory applet.
multiload_netload_applet start the net applet.
multiload_swapload_applet start the swap applet.
AUTHOR
This manual page was written by Christian Marillat <marillat@debian.org> for the Debian GNU/Linux system (but may be used by others).
10 februar 2002 MULTILOAD_APPLET(1)