Need help with permissions for site folders
Moderator: Thanas
- haas mark
- Official SD.Net Insomniac
- Posts: 16533
- Joined: 2002-09-11 04:29pm
- Location: Wouldn't you like to know?
- Contact:
Need help with permissions for site folders
Ok I figured out the permissions problem I was having earlier, BUT...
I need to know if there's a way for me to set permissions so that (for example) someone can view http://mynetmarketingcenter.com/ebk/myf ... wsj596.htm but NOT http://mynetmarketingcenter.com/ebk/myfas.
I need to know if there's a way for me to set permissions so that (for example) someone can view http://mynetmarketingcenter.com/ebk/myf ... wsj596.htm but NOT http://mynetmarketingcenter.com/ebk/myfas.
Robert-Conway.com | lunar sun | TotalEnigma.net
Hot Pants à la Zaia | BotM Lord Monkey Mod OOK!
SDNC | WG | GDC | ACPATHNTDWATGODW | GALE | ISARMA | CotK: [mew]
Formerly verilon
R.I.P. Eddie Guerrero, 09 October 1967 - 13 November 2005
Hot Pants à la Zaia | BotM Lord Monkey Mod OOK!
SDNC | WG | GDC | ACPATHNTDWATGODW | GALE | ISARMA | CotK: [mew]
Formerly verilon
R.I.P. Eddie Guerrero, 09 October 1967 - 13 November 2005
- haas mark
- Official SD.Net Insomniac
- Posts: 16533
- Joined: 2002-09-11 04:29pm
- Location: Wouldn't you like to know?
- Contact:
From the CPanel..
General server information:
Operating system Linux
Service Status Click to View
Kernel version 2.4.21-9.0.1.ELsmp
Apache version 1.3.31 (Unix)
PERL version 5.8.1
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 4.3.4
MySQL version 4.0.18-standard
cPanel Build 9.4.1-STABLE 56
Theme cPanel X v2.3.0
Documentation Click to View
General server information:
Operating system Linux
Service Status Click to View
Kernel version 2.4.21-9.0.1.ELsmp
Apache version 1.3.31 (Unix)
PERL version 5.8.1
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 4.3.4
MySQL version 4.0.18-standard
cPanel Build 9.4.1-STABLE 56
Theme cPanel X v2.3.0
Documentation Click to View
Robert-Conway.com | lunar sun | TotalEnigma.net
Hot Pants à la Zaia | BotM Lord Monkey Mod OOK!
SDNC | WG | GDC | ACPATHNTDWATGODW | GALE | ISARMA | CotK: [mew]
Formerly verilon
R.I.P. Eddie Guerrero, 09 October 1967 - 13 November 2005
Hot Pants à la Zaia | BotM Lord Monkey Mod OOK!
SDNC | WG | GDC | ACPATHNTDWATGODW | GALE | ISARMA | CotK: [mew]
Formerly verilon
R.I.P. Eddie Guerrero, 09 October 1967 - 13 November 2005
Make a file called .htaccess, containing:
in the directory you want to block. Do you only want to block the indexes, or do you want to deny reads alltogether (better to set permissions in that case)
Code: Select all
Options -Indexes
ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer
George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
- haas mark
- Official SD.Net Insomniac
- Posts: 16533
- Joined: 2002-09-11 04:29pm
- Location: Wouldn't you like to know?
- Contact:
1 - How do I create that file?Pu-239 wrote:Make a file called .htaccess, containing:
in the directory you want to block. Do you only want to block the indexes, or do you want to deny reads alltogether (better to set permissions in that case)Code: Select all
Options -Indexes
2 - I'm not sure what you're asking. I want the actual files to be viewable, but none of the directories.
Robert-Conway.com | lunar sun | TotalEnigma.net
Hot Pants à la Zaia | BotM Lord Monkey Mod OOK!
SDNC | WG | GDC | ACPATHNTDWATGODW | GALE | ISARMA | CotK: [mew]
Formerly verilon
R.I.P. Eddie Guerrero, 09 October 1967 - 13 November 2005
Hot Pants à la Zaia | BotM Lord Monkey Mod OOK!
SDNC | WG | GDC | ACPATHNTDWATGODW | GALE | ISARMA | CotK: [mew]
Formerly verilon
R.I.P. Eddie Guerrero, 09 October 1967 - 13 November 2005
Use a text editor and upload the file to the directory of your choice.verilon wrote:1 - How do I create that file?
He was asking if you wanted to block access to the directory entirely, which doesn't appear to be what you want to do.2 - I'm not sure what you're asking. I want the actual files to be viewable, but none of the directories.
- haas mark
- Official SD.Net Insomniac
- Posts: 16533
- Joined: 2002-09-11 04:29pm
- Location: Wouldn't you like to know?
- Contact:
Ok thanks.phongn wrote:Use a text editor and upload the file to the directory of your choice.verilon wrote:1 - How do I create that file?
That's correct.He was asking if you wanted to block access to the directory entirely, which doesn't appear to be what you want to do.2 - I'm not sure what you're asking. I want the actual files to be viewable, but none of the directories.
Robert-Conway.com | lunar sun | TotalEnigma.net
Hot Pants à la Zaia | BotM Lord Monkey Mod OOK!
SDNC | WG | GDC | ACPATHNTDWATGODW | GALE | ISARMA | CotK: [mew]
Formerly verilon
R.I.P. Eddie Guerrero, 09 October 1967 - 13 November 2005
Hot Pants à la Zaia | BotM Lord Monkey Mod OOK!
SDNC | WG | GDC | ACPATHNTDWATGODW | GALE | ISARMA | CotK: [mew]
Formerly verilon
R.I.P. Eddie Guerrero, 09 October 1967 - 13 November 2005
- haas mark
- Official SD.Net Insomniac
- Posts: 16533
- Joined: 2002-09-11 04:29pm
- Location: Wouldn't you like to know?
- Contact:
Thanks, Mad.Mad wrote:You can also remove the 'r' (read) permission from the directory (for 'others' and 'group'), but keep the 'x' (execute) permission.
With that method, if somebody knows the actual filename, then they can view it, whether they're supposed to or not.
Robert-Conway.com | lunar sun | TotalEnigma.net
Hot Pants à la Zaia | BotM Lord Monkey Mod OOK!
SDNC | WG | GDC | ACPATHNTDWATGODW | GALE | ISARMA | CotK: [mew]
Formerly verilon
R.I.P. Eddie Guerrero, 09 October 1967 - 13 November 2005
Hot Pants à la Zaia | BotM Lord Monkey Mod OOK!
SDNC | WG | GDC | ACPATHNTDWATGODW | GALE | ISARMA | CotK: [mew]
Formerly verilon
R.I.P. Eddie Guerrero, 09 October 1967 - 13 November 2005