Passwording Directories in Unix


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Passwording Directories in Unix
# 1  
Old 05-08-2006
Passwording Directories in Unix

Hey guys. I need a little help!

I am trying to secure a directory in Unix. I can not use .htaccess because seemingly the Unix Server is not reading it. I have also tried .nsconfig and that also is not working.

At first I was wondering if the server had apache. Someone I work with told me they "thought" it did. I did a little more research and found that it had Netscape FastTrach Server. Is it possible to have Netscape and Apache? And how do I go about confirming if the server has Apache?

And then what do I need to do to get these directories secured. By the way, I know my .htaccess files are working because I placed them on websites/servers that I confirmed had apache and they worked flawlessly.

Any advice would be useful guys/gals.

Thanks again.
# 2  
Old 05-11-2006
can anybody help?
# 3  
Old 05-11-2006
Netscape FastTrack Server is not like NCSA server or it's descendant, Apache; those use .htaccess files, Netscape FastTrack uses .nsconfig instead, which have a different syntax as well. There is vague mention of a plugin that allows it to use NCSA-style .htaccess files, but you may be able to do what you want without them. See here for starters.
# 4  
Old 05-11-2006
Just curious, are you using .htaccess to secure a directory from the web server or do you expect it to work for unix logins? .htaccess is ONLY read by the web swerver and the directory must be above the web root. If you need to protect it from unix logins, then you have to set the permissions on the directory.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Comparing 2 UNIX directories

Hello, I'd want to compare the content of 2 directories in unix. I use the diff command like this: diff /home/user/AAAAA /home/user/BBBBB It works fine, but when a same file is in both directories and they are diferents, I'd want to see only that it is diferent and not all... (4 Replies)
Discussion started by: nolo41
4 Replies

2. UNIX for Dummies Questions & Answers

Do UNIX Permission apply to sub directories?

Hi Guys, Can you tell me if unix permissions apply to sub dirs? Dir is /home/ops/batch/files/all /home is rwxrwxrwx ops is rwxrwxrwx batch is rwxr-wr-w files is rwxrwxrwx all is rwxrwxrwx Having problems writing to all (does the userid nee to be the batch owner... (1 Reply)
Discussion started by: Grueben
1 Replies

3. Shell Programming and Scripting

Need a file from unix directories

Hi I am in a trouble. There is a xml file in some directories in the unix server. i want to edit that in windows mode . please tell me. suppose that file is at: /home/hj/kli/nhj/bin.123.xml so i want to edit that file in unix mode . please tell me the way. Thanks in advance. Pranab (3 Replies)
Discussion started by: pranabrana
3 Replies

4. Shell Programming and Scripting

Comparing directories on different unix servers

Is it possible to use the diff command to compare two directories on different Unix (AIX) servers? We have two regions set up and we want to be able to compare if the scripts directory in both regions contain the same files? I want to figure out if its possible.. Have been messing around by... (10 Replies)
Discussion started by: Jazmania
10 Replies

5. UNIX for Dummies Questions & Answers

UNIX home directories

Hi All, Could someone help, am a complete beginner when it comes to UNIX. However I have been tasked with investigating automatic creation of UK unix home directories. Is someone able to help? Thanks in advance! (7 Replies)
Discussion started by: zainster
7 Replies

6. Shell Programming and Scripting

map windows directories to unix

How to map the windows directories to unix filepath using perl scripts? (0 Replies)
Discussion started by: vinay123
0 Replies

7. AIX

Copy Directories in to UNIX server

I have software on Z drive " I map it " , its about 50 MB , I want to copy the whole directory in to unix server , under some folder ... What are the steps how Ican perform this ? I have UNIX user name and password and rights to create files and folders.. Remember I want to copy all the folder... (3 Replies)
Discussion started by: khan1978
3 Replies

8. Programming

Using a C program to create directories in UNIX

Aloha, I'm attempting to use a C program to create directories and then use a system call to have another program write .dat files into that directory. I understand that I could use the "system("mkdir directory_name")" function however, I would like my program to create a new directory each time... (3 Replies)
Discussion started by: aloha_boi
3 Replies

9. UNIX for Dummies Questions & Answers

Unix ownership from directories and file

Hi, I have newly installed sun solaris on my pc since I would like to learn something more about unix. During the installation, I had to assign a password for the super user root.After the installation, the book I am following suggested me to create a new user which I did. My home directory is... (1 Reply)
Discussion started by: giulianob
1 Replies

10. UNIX for Dummies Questions & Answers

finding directories in UNIX

I am accessing a UNIX server via FTP. I want to retieve a file in a directory. What is the UNIX command that I need to view and retrieve files from a directory? (1 Reply)
Discussion started by: yodaddy
1 Replies
Login or Register to Ask a Question