LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > FollowSymLinks and SymLinksIfOwnerMatch

Reply
 
Thread Tools Display Modes
  #1  
Old 04-30-2009, 07:43 AM
masood_y masood_y is offline
Senior Member
 
Join Date: Sep 2008
Posts: 121
Default FollowSymLinks and SymLinksIfOwnerMatch

I need to pervent users for make SymLinks to other directory.

I have following setting in httpd.conf:
Code:
<Directory "/">
    Options ExecCGI FollowSymLinks Includes IncludesNOEXEC -Indexes -MultiViews SymLinksIfOwnerMatch
    AllowOverride All
</Directory>
I have following setting in litespeed (Server -> General -> Security)
Code:
File Access	

Follow Symbolic Link	If Owner Match
Check Symbolic Link	Yes
Required Permission Mask	       000
Restricted Permission Mask	000
I have version 4.0.3 on my server too. But user can make SymLinks to other directory too.

Please help me for stop it.

Thank You very much.
Reply With Quote
  #2  
Old 04-30-2009, 08:38 AM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
how about:
Configuration-->Virtual Hosts-->select 1 host

Basic->Security->Restrained:Yes
Reply With Quote
  #3  
Old 04-30-2009, 08:56 AM
masood_y masood_y is offline
Senior Member
 
Join Date: Sep 2008
Posts: 121
I dont have any "Virtual Hosts"
Reply With Quote
  #4  
Old 04-30-2009, 10:04 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Quote:
Originally Posted by masood_y View Post
I need to pervent users for make SymLinks to other directory.

I have version 4.0.3 on my server too. But user can make SymLinks to other directory too.

Please help me for stop it.

Thank You very much.
There is no way to prevent a user running a perl script to create a symbolic link pointing to another user's file, unless you want to disable perl completely. However, does not like Apache, 4.0.3 enforces "SymLinksIfOwnerMatch", nobody can override it via .htaccess with "Options +FollowSymLinks" in order to view the content of the file.

As long as the access to the file is blocked, nothing to worry about.

Please stopping asking the same question again and again, it has been solved. You can post to webhostingtalk see if you can get a better answer there.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:39 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.